BdcClientBase<TChannel> Constructor (String, String)
Initializes a new instance of the BdcClientBase<TChannel> class with the specified endpoint configuration name and remote address.
Namespace: Microsoft.BusinessData.SystemSpecific.Wcf
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Protected Sub New ( _
endpointConfigurationName As String, _
remoteAddress As String _
)
'Usage
Dim endpointConfigurationName As String
Dim remoteAddress As String
Dim instance As New BdcClientBase(endpointConfigurationName, _
remoteAddress)
protected BdcClientBase(
string endpointConfigurationName,
string remoteAddress
)
Parameters
endpointConfigurationName
Type: System.StringThe name of the endpoint in the application configuration file.
remoteAddress
Type: System.StringThe address of the service endpoint.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The endpointConfigurationName or remoteAddress 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> Members