ChannelFactory(Of TChannel) Constructor (String, EndpointAddress)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the ChannelFactory(Of TChannel) class with a specified endpoint address and endpoint configuration.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Sub New ( _ endpointConfigurationName As String, _ remoteAddress As EndpointAddress _ )
Parameters
- endpointConfigurationName
- Type: System.String
The name of the file that contains the service endpoint configuration for the channels created by the factory.
- remoteAddress
- Type: System.ServiceModel.EndpointAddress
The destination EndpointAddress for channels created by the factory.
Show: