BdcClientBase<TChannel> Constructor (Binding, EndpointAddress)
Initializes a new instance of the BdcClientBase<TChannel> class using the specified binding and target address.
Namespace: Microsoft.BusinessData.SystemSpecific.Wcf
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Protected Sub New ( _
binding As Binding, _
remoteAddress As EndpointAddress _
)
'Usage
Dim binding As Binding
Dim remoteAddress As EndpointAddress
Dim instance As New BdcClientBase(binding, _
remoteAddress)
protected BdcClientBase(
Binding binding,
EndpointAddress remoteAddress
)
Parameters
binding
Type: System.ServiceModel.Channels.BindingThe binding with which to make calls to the service.
remoteAddress
Type: System.ServiceModel.EndpointAddressThe address of the service endpoint.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The binding or remoteAddress is a null reference (Nothing in Visual Basic). |
See Also
Reference
BdcClientBase<TChannel> Members