Export (0) Print
Expand All

ChannelFactory.InitializeEndpoint Method (Binding, EndpointAddress)

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

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

protected void InitializeEndpoint(
	Binding binding,
	EndpointAddress address
)

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft