BdcClientBase<TChannel> Constructor (InstanceContext, Binding, EndpointAddress)
Initializes a new instance of the BdcClientBase<TChannel> class using the specified callback instance, the binding, and target address.
Namespace: Microsoft.BusinessData.SystemSpecific.Wcf
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Protected Sub New ( _
callbackInstance As InstanceContext, _
binding As Binding, _
remoteAddress As EndpointAddress _
)
'Usage
Dim callbackInstance As InstanceContext
Dim binding As Binding
Dim remoteAddress As EndpointAddress
Dim instance As New BdcClientBase(callbackInstance, _
binding, remoteAddress)
protected BdcClientBase(
InstanceContext callbackInstance,
Binding binding,
EndpointAddress remoteAddress
)
Parameters
callbackInstance
Type: System.ServiceModel.InstanceContextThe callback object that the client application uses to listen for messages from the connected service.
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 callbackInstance, binding, or remoteAddress is a null reference (Nothing in Visual Basic). |
See Also
Reference
BdcClientBase<TChannel> Members