Share via


ServiceClient Constructor (String, EndpointAddress)

Initializes a new instance of the ServiceClient class that has the specified endpoint configuration name and remote address.

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
Public Sub New ( _
    endpointConfigurationName As String, _
    remoteAddress As EndpointAddress _
)
'Usage
Dim endpointConfigurationName As String
Dim remoteAddress As EndpointAddress

Dim instance As New ServiceClient(endpointConfigurationName, _
    remoteAddress)
public ServiceClient(
    string endpointConfigurationName,
    EndpointAddress remoteAddress
)
public:
ServiceClient(
    String^ endpointConfigurationName, 
    EndpointAddress^ remoteAddress
)
new : 
        endpointConfigurationName:string * 
        remoteAddress:EndpointAddress -> ServiceClient
public function ServiceClient(
    endpointConfigurationName : String, 
    remoteAddress : EndpointAddress
)

Parameters

  • endpointConfigurationName
    Type: System.String
    The name of the endpoint configuration.

See Also

Reference

ServiceClient Class

ServiceClient Overload

Microsoft.MasterDataServices Namespace