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)

protected void InitializeEndpoint(
	Binding binding,
	EndpointAddress address
)

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2016 Microsoft