ClientBase<TChannel> Constructor (Binding^, EndpointAddress^)
.NET Framework (current version)
Initializes a new instance of the ClientBase<TChannel> class using the specified binding and target address.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
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
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
Show: