EDMI: fix API.Client constructor

This commit is contained in:
Jonathan Jenne 2020-04-28 14:51:24 +02:00
parent 7f59e1d1ca
commit 31ae07b3eb

View File

@ -43,8 +43,10 @@ Public Class Client
Dim oBinding = Channel.GetBinding()
Dim oAddress = New EndpointAddress($"net.tcp://{IPAddress}:{PortNumber}/DigitalData/Services/Main")
Dim oFactory = New ChannelFactory(Of IEDMIServiceChannel)(oBinding, oAddress)
Catch ex As Exception
_channelFactory = oFactory
Catch ex As Exception
_logger.Error(ex)
End Try
End Sub