共用方式為


QueueSystem.RetryCorrelation 方法

設定相互關聯的工作失敗備妥的 Project Server 佇列服務在重新處理。

命名空間:  WebSvcQueueSystem
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<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 _
)
'用途
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
)

參數

  • correlationGUID
    類型:System.Guid

    相互關聯的 GUID。

備註

Project Server 可讓RetryCorrelation只有相互關聯的工作狀態Failed或CorrelationBlocked。如果工作狀態為任何其他值, RetryCorrelation會產生 SOAP 例外狀況。

RetryCorrelation至ReadyForProcessing關聯中設定封鎖工作Failed狀態,並從CorrelationBlocked關聯至ReadyForProcessing中設定的所有其他封鎖工作的狀態。

管理員可以使用Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/queue.aspx) 在 [管理佇列工作] 頁面上檢視和重試 Project Server 封鎖相互關聯的工作。

Project Server 權限

權限

描述

ManageQueue

可讓使用者管理 Project Server 佇列。通用權限。

請參閱

參照

QueueSystem 類別

QueueSystem 成員

WebSvcQueueSystem 命名空間