ServiceClient Constructors

Definition

Initializes a new instance of the ServiceClient class.

Overloads

ServiceClient()

Initializes a new instance of the ServiceClient class with default values.

ServiceClient(String)

Initializes a new instance of the ServiceClient class with the specified endpoint configuration name.

ServiceClient(Binding, EndpointAddress)

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

ServiceClient(String, EndpointAddress)

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

ServiceClient(String, String)

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

ServiceClient()

Initializes a new instance of the ServiceClient class with default values.

public:
 ServiceClient();
public ServiceClient ();
Public Sub New ()

Applies to

ServiceClient(String)

Initializes a new instance of the ServiceClient class with the specified endpoint configuration name.

public:
 ServiceClient(System::String ^ endpointConfigurationName);
public ServiceClient (string endpointConfigurationName);
new Microsoft.MasterDataServices.ServiceClient : string -> Microsoft.MasterDataServices.ServiceClient
Public Sub New (endpointConfigurationName As String)

Parameters

endpointConfigurationName
String

The name of the endpoint configuration.

Applies to

ServiceClient(Binding, EndpointAddress)

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

public:
 ServiceClient(System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
public ServiceClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new Microsoft.MasterDataServices.ServiceClient : System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> Microsoft.MasterDataServices.ServiceClient
Public Sub New (binding As Binding, remoteAddress As EndpointAddress)

Parameters

binding
Binding

The binding which the service client uses to communicate with Master Data Services.

remoteAddress
EndpointAddress

The remote address which the service client uses to communicate with Master Data Services.

Applies to

ServiceClient(String, EndpointAddress)

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

public:
 ServiceClient(System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public ServiceClient (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new Microsoft.MasterDataServices.ServiceClient : string * System.ServiceModel.EndpointAddress -> Microsoft.MasterDataServices.ServiceClient
Public Sub New (endpointConfigurationName As String, remoteAddress As EndpointAddress)

Parameters

endpointConfigurationName
String

The name of the endpoint configuration.

remoteAddress
EndpointAddress

The remote address which the service client uses to communicate with Master Data Services.

Applies to

ServiceClient(String, String)

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

public:
 ServiceClient(System::String ^ endpointConfigurationName, System::String ^ remoteAddress);
public ServiceClient (string endpointConfigurationName, string remoteAddress);
new Microsoft.MasterDataServices.ServiceClient : string * string -> Microsoft.MasterDataServices.ServiceClient
Public Sub New (endpointConfigurationName As String, remoteAddress As String)

Parameters

endpointConfigurationName
String

The name of the endpoint configuration.

remoteAddress
String

The string representation of the remote address.

Applies to