ServiceClient 构造函数

Initializes a new instance of the ServiceClient class.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 ServiceClient() () () () Initializes a new instance of the ServiceClient class with default values.
公共方法 ServiceClient(String) Initializes a new instance of the ServiceClient class with the specified endpoint configuration name.
公共方法 ServiceClient(Binding, EndpointAddress) Initializes a new instance of the ServiceClient class that has the specified binding and remote address.
公共方法 ServiceClient(String, EndpointAddress) Initializes a new instance of the ServiceClient class that has the specified endpoint configuration name and remote address.
公共方法 ServiceClient(String, String) Initializes a new instance of the ServiceClient class that has the specified endpoint configuration name and remote address as a string.

页首