Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ChannelFactory::InitializeEndpoint Method (ServiceEndpoint^)

 

Initializes the service endpoint of the channel factory with a specified endpoint.

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

protected:
void InitializeEndpoint(
	ServiceEndpoint^ endpoint
)

Parameters

endpoint
Type: System.ServiceModel.Description::ServiceEndpoint^

The ServiceEndpoint to initialize the channel factory with.

Exception Condition
ArgumentNullException

endpoint is null.

Use InitializeEndpoint(Binding^, EndpointAddress^) if you have just the binding. Use InitializeEndpoint(String^, EndpointAddress^) if you have the configuration.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Return to top
Show:
© 2017 Microsoft