共用方式為


BdcClientBase<TChannel> Constructor (String)

Initializes a new instance of the BdcClientBase<TChannel> class using the specified endpoint configuration name.

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

Syntax

'Declaration
Protected Sub New ( _
    endpointConfigurationName As String _
)
'Usage
Dim endpointConfigurationName As String

Dim instance As New BdcClientBase(endpointConfigurationName)
protected BdcClientBase(
    string endpointConfigurationName
)

Parameters

  • endpointConfigurationName
    Type: System.String

    The name of the endpoint in the application configuration file.

Exceptions

Exception Condition
ArgumentNullException

The endpointConfigurationName 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