BdcClientBase<TChannel> Constructor (InstanceContext, String, String)

Initializes a new instance of the BdcClientBase<TChannel> class using the specified callback instance, endpoint configuration name, and remote address.

Namespace:  Microsoft.BusinessData.SystemSpecific.Wcf
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)


Protected Sub New ( _
    callbackInstance As InstanceContext, _
    endpointConfigurationName As String, _
    remoteAddress As String _
Dim callbackInstance As InstanceContext
Dim endpointConfigurationName As String
Dim remoteAddress As String

Dim instance As New BdcClientBase(callbackInstance, _
    endpointConfigurationName, remoteAddress)
protected BdcClientBase(
    InstanceContext callbackInstance,
    string endpointConfigurationName,
    string remoteAddress


  • endpointConfigurationName
    Type: System.String

    The name of the endpoint in the application configuration file.

  • remoteAddress
    Type: System.String

    The address of the service endpoint.


Exception Condition

The callbackInstance, endpointConfigurationName, or remoteAddress is a null reference (Nothing in Visual Basic).


The endpoint cannot be found or the endpoint contract is not valid.

See Also


BdcClientBase<TChannel> Class

BdcClientBase<TChannel> Members

BdcClientBase<TChannel> Overload

Microsoft.BusinessData.SystemSpecific.Wcf Namespace