Constructeur ServiceClient (String, EndpointAddress)
Initializes a new instance of the ServiceClient class that has the specified endpoint configuration name and remote address.
Espace de noms : Microsoft.MasterDataServices
Assembly : Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)
Syntaxe
'Déclaration
Public Sub New ( _
endpointConfigurationName As String, _
remoteAddress As EndpointAddress _
)
'Utilisation
Dim endpointConfigurationName As String
Dim remoteAddress As EndpointAddress
Dim instance As New ServiceClient(endpointConfigurationName, _
remoteAddress)
public ServiceClient(
string endpointConfigurationName,
EndpointAddress remoteAddress
)
public:
ServiceClient(
String^ endpointConfigurationName,
EndpointAddress^ remoteAddress
)
new :
endpointConfigurationName:string *
remoteAddress:EndpointAddress -> ServiceClient
public function ServiceClient(
endpointConfigurationName : String,
remoteAddress : EndpointAddress
)
Paramètres
- endpointConfigurationName
Type : System. . :: . .String
The name of the endpoint configuration.
- remoteAddress
Type : System.ServiceModel. . :: . .EndpointAddress
The remote address.
Voir aussi