Partager via


QueueSystem Constructor

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

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New QueueSystem()
public QueueSystem()

Remarks

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

Examples

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);

See Also

Reference

QueueSystem Class

QueueSystem Members

QueueSystem Web Service