다음을 통해 공유


QueueSystem.RetryCorrelation Method

Sets a failed correlated job to be ready for reprocessing in the Project Server Queuing 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
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/RetryCorrelation", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub RetryCorrelation ( _
    correlationGUID As Guid _
)
'Usage
Dim instance As QueueSystem
Dim correlationGUID As Guid

instance.RetryCorrelation(correlationGUID)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/RetryCorrelation", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void RetryCorrelation(
    Guid correlationGUID
)

Parameters

  • correlationGUID
    Type: System.Guid
    GUID of the correlation.

Remarks

Project Server allows RetryCorrelation only if the correlated job state is Failed or CorrelationBlocked. If the job state is any other value, RetryCorrelation generates a SOAP exception.

RetryCorrelation sets the Failed state of the blocked job in the correlation to ReadyForProcessing and sets the state of all other blocked jobs in the correlation from CorrelationBlocked to ReadyForProcessing.

A Project Server administrator can use the Manage Queue Jobs page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/queue.aspx) to view and retry blocked correlation jobs.

Project Server Permissions

Permission

Description

ManageQueue

Allows the user to manage the Project Server queue. Global permission.

See Also

Reference

QueueSystem Class

QueueSystem Members

QueueSystem Web Service