Constructeur ServiceClient (Binding, EndpointAddress)
Initializes a new instance of the ServiceClient class that has the specified binding and remote address.
Espace de noms : Microsoft.MasterDataServices
Assembly : Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)
Syntaxe
'Déclaration
Public Sub New ( _
binding As Binding, _
remoteAddress As EndpointAddress _
)
'Utilisation
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
)
Paramètres
- binding
Type : System.ServiceModel.Channels.Binding
The binding which the service client uses to communicate with Master Data Services.
- remoteAddress
Type : System.ServiceModel.EndpointAddress
The remote address which the service client uses to communicate with Master Data Services.