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
)
參數
- binding
型別:System.ServiceModel.Channels.Binding
The binding which the service client uses to communicate with Master Data Services.
- remoteAddress
型別:System.ServiceModel.EndpointAddress
The remote address which the service client uses to communicate with Master Data Services.