ClientBase(TChannel) Constructor (Binding, EndpointAddress)

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.

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

'Declaration
Protected Sub New ( _
	binding As Binding, _
	remoteAddress As EndpointAddress _
)

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.

ExceptionCondition
ArgumentNullException

The binding is Nothing.

ArgumentNullException

The remote address is Nothing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft