Statusing 构造函数

从基于 ASMX 的Statusing web 服务创建Statusing对象。

命名空间:  WebSvcStatusing
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
Public Sub New
用法

Dim instance As New Statusing()
public Statusing()

备注

若要创建使用 Windows Communication Foundation (WCF) API 等效Statusing对象,请使用StatusingClient构造函数之一。

示例

在下面的语句, WebSvcStatusing是基于 ASMX 的Statusing web 服务任意命名空间。

private static WebSvcStatusing.Statusing statusing = new WebSvcStatusing.Statusing();

在下面的语句, WebSvcStatusing是基于 WCF 的Statusing服务任意命名空间。endpt参数是一个String值,指定客户端终结点地址的名称,在 app.config 文件 (或 web 应用程序的 web.config 文件中)。

private static WebSvcStatusing.StatusingClient statusingClient = new WebSvcStatusing.StatusingClient(endpt);

另请参阅

引用

Statusing 类

Statusing 成员

WebSvcStatusing 命名空间