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

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)

member InitializeEndpoint : 
        binding:Binding *
        address:EndpointAddress -> unit

Parameters

binding
Type: System.ServiceModel.Channels.Binding

The Binding with which to initialize the channel factory.

address
Type: System.ServiceModel.EndpointAddress

The EndpointAddress with which to initialize the channel factory.

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

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft