Share via


ServiceClient Constructor (Binding, EndpointAddress)

Initializes a new instance of the ServiceClient class that has the specified binding and remote address.

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

Syntax

'Declaration
Public Sub New ( _
    binding As Binding, _
    remoteAddress As EndpointAddress _
)
'Usage
Dim binding As Binding
Dim remoteAddress As EndpointAddress

Dim instance As New ServiceClient(binding, _
    remoteAddress)
public ServiceClient(
    Binding binding,
    EndpointAddress remoteAddress
)
public:
ServiceClient(
    Binding^ binding, 
    EndpointAddress^ remoteAddress
)
new : 
        binding:Binding * 
        remoteAddress:EndpointAddress -> ServiceClient
public function ServiceClient(
    binding : Binding, 
    remoteAddress : EndpointAddress
)

Parameters

See Also

Reference

ServiceClient Class

ServiceClient Overload

Microsoft.MasterDataServices Namespace