ServiceClient 构造函数 (String, EndpointAddress)
Initializes a new instance of the ServiceClient class that has the specified endpoint configuration name and remote address.
命名空间: Microsoft.MasterDataServices
程序集: Microsoft.MasterDataServices(在 Microsoft.MasterDataServices.dll 中)
语法
声明
Public Sub New ( _
endpointConfigurationName As String, _
remoteAddress As EndpointAddress _
)
用法
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
)
参数
- endpointConfigurationName
类型:System.String
The name of the endpoint configuration.
- remoteAddress
类型:System.ServiceModel.EndpointAddress
The remote address which the service client uses to communicate with Master Data Services.