共用方式為


ServiceClient 建構函式 (String, EndpointAddress)

Initializes a new instance of the ServiceClient class that has the specified endpoint configuration name and remote address.

命名空間:  Microsoft.MasterDataServices
組件:  Microsoft.MasterDataServices (在 Microsoft.MasterDataServices.dll 中)

語法

'宣告
Public Sub New ( _
    endpointConfigurationName As String, _
    remoteAddress As EndpointAddress _
)
'用途
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
)

參數

  • endpointConfigurationName
    型別:System.String
    The name of the endpoint configuration.

請參閱

參考

ServiceClient 類別

ServiceClient 多載

Microsoft.MasterDataServices 命名空間