Share via


ChannelFactory.InitializeEndpoint Method (ServiceEndpoint)

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

Initializes the service endpoint of the channel factory with a specified service endpoint.

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

Syntax

'Declaration
Protected Sub InitializeEndpoint ( _
    endpoint As ServiceEndpoint _
)
protected void InitializeEndpoint(
    ServiceEndpoint endpoint
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

endpoint is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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