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.
- remoteAddress
Type: System.ServiceModel.EndpointAddress
The remote address which the service client uses to communicate with Master Data Services.