ClientBase(Of TChannel) Constructor (Binding, EndpointAddress)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the ClientBase(Of TChannel) class using a specified binding and target address.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- binding
- Type: System.ServiceModel.Channels.Binding
The binding used to configure the way that calls are made to the service.
- remoteAddress
- Type: System.ServiceModel.EndpointAddress
The address of the service endpoint.
| Exception | Condition |
|---|---|
| ArgumentNullException | The binding is Nothing. |
| ArgumentNullException | The remote address is Nothing. |
Show: