Freigeben über


ChannelFactory.InitializeEndpoint Method (Binding, EndpointAddress)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Protected Sub InitializeEndpoint ( _
    binding As Binding, _
    address As EndpointAddress _
)
protected void InitializeEndpoint(
    Binding binding,
    EndpointAddress address
)

Parameters

Remarks

Use InitializeEndpoint(String, EndpointAddress) if you have a file that contains the configuration for the endpoint.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.