Export (0) Print
Expand All

QueueSystem.CancelCorrelation method

Cancels the specified job correlation in the Project Server Queuing Service.

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

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/CancelCorrelation", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
	ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void CancelCorrelation(
	Guid correlationUID,
	bool cancelSendIncompleteJobs
)

Parameters

correlationUID
Type: System.Guid

GUID of the job correlation to cancel.

cancelSendIncompleteJobs
Type: System.Boolean

If true, also cancel jobs that are still getting queued (the JobState is SendIncomplete).

CancelCorrelation sets the job completion state (JobState) of all correlated jobs to Canceled. To cancel the current job and let the remaining correlated jobs continue processing, see CancelJob.

NoteNote

There is a potential race condition between checking the state of a job and calling CancelCorrelation. When an application checks the state of a job, it may be ReadyForProcessing. Before calling CancelCorrelation, the state can switch to Processing or any other state.

Project Server Permissions

Permission

Description

LogOn

Allows a user to log on to Project Server. Global permission.

Community Additions

ADD
Show:
© 2014 Microsoft