Construtor ServiceClient (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 (em Microsoft.MasterDataServices.dll)
Sintaxe
'Declaração
Public Sub New ( _
endpointConfigurationName As String, _
remoteAddress As EndpointAddress _
)
'Uso
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
)
Parâmetros
- endpointConfigurationName
Tipo: System. . :: . .String
The name of the endpoint configuration.
- remoteAddress
Tipo: System.ServiceModel. . :: . .EndpointAddress
The remote address.
Consulte também