Konstruktor ServiceClient (Binding, EndpointAddress)
Inicjuje nowe wystąpienie ServiceClient klasy, która ma określony powiązanie i adresu zdalnego.
Przestrzeń nazw: Microsoft.MasterDataServices
Zestaw: Microsoft.MasterDataServices (w Microsoft.MasterDataServices.dll)
Składnia
'Deklaracja
Public Sub New ( _
binding As Binding, _
remoteAddress As EndpointAddress _
)
'Użycie
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
)
Parametry
- binding
Typ: System.ServiceModel.Channels.Binding
Powiązanie.
- remoteAddress
Typ: System.ServiceModel.EndpointAddress
Zdalny adres.
Zobacz także