共用方式為


BdcClientBase<TChannel> Constructor (InstanceContext)

Initializes a new instance of the BdcClientBase<TChannel> class using the specified callback instance as the callback object in a duplex conversation.

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

Syntax

'Declaration
Protected Sub New ( _
    callbackInstance As InstanceContext _
)
'Usage
Dim callbackInstance As InstanceContext

Dim instance As New BdcClientBase(callbackInstance)
protected BdcClientBase(
    InstanceContext callbackInstance
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The callbackInstance is a null reference (Nothing in Visual Basic).

InvalidOperationException

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

See Also

Reference

BdcClientBase<TChannel> Class

BdcClientBase<TChannel> Members

BdcClientBase<TChannel> Overload

Microsoft.BusinessData.SystemSpecific.Wcf Namespace