InitializeEndpoint Method (Binding, EndpointAddress)
Collapse the table of content
Expand the table of content

ChannelFactory.InitializeEndpoint Method (Binding, EndpointAddress)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes the service endpoint of the channel factory with a specified binding and address.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Protected Sub InitializeEndpoint ( _
	binding As Binding, _
	address As EndpointAddress _
)

Parameters

binding
Type: System.ServiceModel.Channels.Binding
The Binding with which to initialize the endpoint for the channel factory.
address
Type: System.ServiceModel.EndpointAddress
The EndpointAddress with which to initialize the endpoint for the channel factory.

Use InitializeEndpoint(String, EndpointAddress) if you have a file that contains the configuration for the endpoint.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft