EDMI: fix API.Client constructor
This commit is contained in:
parent
7f59e1d1ca
commit
31ae07b3eb
@ -43,8 +43,10 @@ Public Class Client
|
|||||||
Dim oBinding = Channel.GetBinding()
|
Dim oBinding = Channel.GetBinding()
|
||||||
Dim oAddress = New EndpointAddress($"net.tcp://{IPAddress}:{PortNumber}/DigitalData/Services/Main")
|
Dim oAddress = New EndpointAddress($"net.tcp://{IPAddress}:{PortNumber}/DigitalData/Services/Main")
|
||||||
Dim oFactory = New ChannelFactory(Of IEDMIServiceChannel)(oBinding, oAddress)
|
Dim oFactory = New ChannelFactory(Of IEDMIServiceChannel)(oBinding, oAddress)
|
||||||
Catch ex As Exception
|
|
||||||
|
|
||||||
|
_channelFactory = oFactory
|
||||||
|
Catch ex As Exception
|
||||||
|
_logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user