ClientBase<TChannel> Constructor (Binding^, EndpointAddress^)

 

Initializes a new instance of the ClientBase<TChannel> class using the specified binding and target address.

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

protected:
ClientBase(
	Binding^ binding,
	EndpointAddress^ remoteAddress
)

Parameters

binding
Type: System.ServiceModel.Channels::Binding^

The binding with which to make calls to the service.

remoteAddress
Type: System.ServiceModel::EndpointAddress^

The address of the service endpoint.

Exception Condition
ArgumentNullException

The binding is null.

ArgumentNullException

The remote address is null.

Universal Windows Platform
Available since 8
.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: