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

ChannelFactory.InitializeEndpoint Method (String, EndpointAddress)

 

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

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

protected void InitializeEndpoint(
	string configurationName,
	EndpointAddress address
)

Parameters

configurationName
Type: System.String

The name of the configuration file used to initialize the channel factory.

address
Type: System.ServiceModel.EndpointAddress

The EndpointAddress with which to initialize the channel factory.

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