Udostępnij przez


Konstruktor ServiceClient (String, String)

Inicjuje nowe wystąpienie ServiceClient klasy, która ma określony punkt końcowy konfiguracja nazwę i adres zdalny jako ciąg.

Przestrzeń nazw:  Microsoft.MasterDataServices
Zestaw:  Microsoft.MasterDataServices (w Microsoft.MasterDataServices.dll)

Składnia

'Deklaracja
Public Sub New ( _
    endpointConfigurationName As String, _
    remoteAddress As String _
)
'Użycie
Dim endpointConfigurationName As String
Dim remoteAddress As String

Dim instance As New ServiceClient(endpointConfigurationName, _
    remoteAddress)
public ServiceClient(
    string endpointConfigurationName,
    string remoteAddress
)
public:
ServiceClient(
    String^ endpointConfigurationName, 
    String^ remoteAddress
)
new : 
        endpointConfigurationName:string * 
        remoteAddress:string -> ServiceClient
public function ServiceClient(
    endpointConfigurationName : String, 
    remoteAddress : String
)

Parametry

  • endpointConfigurationName
    Typ: System.String
    Nazwa konfiguracja punktu końcowego.
  • remoteAddress
    Typ: System.String
    Ciąg reprezentujący adres zdalny.