Share via


Statusing Constructor

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

Namespace:  [Statusing Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Statusing.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Statusing.asmx?wsdl

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, StatusingWebSvc is an arbitrary namespace for the ASMX-based Statusing web service.

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

In the following statement, SvcStatusing 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 SvcStatusing.StatusingClient statusingClient = new SvcStatusing.StatusingClient(endpt);

See Also

Reference

Statusing Class

Statusing Members

Statusing Web Service