ServiceReference 构造函数
定义
初始化 ServiceReference 类的新实例。Initializes a new instance of the ServiceReference class.
重载
| ServiceReference() |
初始化 ServiceReference 类的新实例。Initializes a new instance of the ServiceReference class. |
| ServiceReference(String) |
使用指定的路径初始化 ServiceReference 类的新实例。Initializes a new instance of the ServiceReference class with a specified path. |
ServiceReference()
初始化 ServiceReference 类的新实例。Initializes a new instance of the ServiceReference class.
public:
ServiceReference();
public ServiceReference ();
Public Sub New ()
适用于
ServiceReference(String)
使用指定的路径初始化 ServiceReference 类的新实例。Initializes a new instance of the ServiceReference class with a specified path.
public:
ServiceReference(System::String ^ path);
public ServiceReference (string path);
new System.Web.UI.ServiceReference : string -> System.Web.UI.ServiceReference
Public Sub New (path As String)
参数
- path
- String
Web 服务的位置。The location of the Web service.