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

ChannelFactory.InitializeEndpoint Method (String, EndpointAddress)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 with which to initialize the channel factory.
address
Type: System.ServiceModel.EndpointAddress
The EndpointAddress with which to initialize endpoints for the channel factory.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft