Share via


Statusing constructor

Creates an Statusing object from the ASMX-based Statusing web service.

Namespace:  WebSvcStatusing
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New Statusing()
public Statusing()

Remarks

To create an object that is equivalent to Statusing by using the Windows Communication Foundation (WCF) API, use one of the StatusingClient constructors.

Examples

In the following statement, WebSvcStatusing is an arbitrary namespace for the ASMX-based Statusing web service.

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

In the following statement, WebSvcStatusing is an arbitrary namespace for the WCF-based Statusing service. The endpt parameter is a String value that specifies the name of the client endpoint address in the app.config file (or in the web.config file for web applications).

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

See also

Reference

Statusing class

Statusing members

WebSvcStatusing namespace