ClientBase<TChannel>.Endpoint Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the target endpoint for the service to which the WCF client can connect.

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

public ServiceEndpoint Endpoint { get; }

Property Value

Type: System.ServiceModel.Description.ServiceEndpoint

The target endpoint.

Use the Endpoint property to obtain the System.ServiceModel.Description.ServiceEndpoint object to inspect or modify prior to using the ClientBase<TChannel> object.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top