QueueSystem constructor

Office 2013 and later

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

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

public QueueSystem()

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

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

private static QueueSystemWebSvc.QueueSystem queueSystem = new QueueSystemWebSvc.QueueSystem();

In the following statement, SvcQueueSystem is an arbitrary namespace for the WCF-based QueueSystem 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 SvcQueueSystem.QueueSystemClient queueSystemClient = new SvcQueueSystem.QueueSystemClient(endpt);
Show: