ServiceClient 构造函数 (Binding, EndpointAddress)

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

命名空间:  Microsoft.MasterDataServices
程序集:  Microsoft.MasterDataServices(在 Microsoft.MasterDataServices.dll 中)

语法

声明
Public Sub New ( _
    binding As Binding, _
    remoteAddress As EndpointAddress _
)
用法
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
)

参数

请参阅

参考

ServiceClient 类

ServiceClient 重载

Microsoft.MasterDataServices 命名空间