Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InitializeEndpoint Method (ServiceEndpoint)

ChannelFactory.InitializeEndpoint Method (ServiceEndpoint)

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

Namespace:  System.ServiceModel
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)

member InitializeEndpoint : 
        endpoint:ServiceEndpoint -> unit


Type: System.ServiceModel.Description.ServiceEndpoint

The ServiceEndpoint to initialize the channel factory with.


endpoint is a null reference (Nothing in Visual Basic).

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft