共用方式為


TeamFoundationServicingService.UpdateServicingOperation 方法 (TeamFoundationRequestContext, String, IEnumerable<String>, IEnumerable<String>, TeamFoundationLock)

更新這個服務作業。 在您呼叫這個方法之前,在 stepGroups 集合清單的所有服務步驟群組必須加入至組態資料庫。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Sub UpdateServicingOperation ( _
    requestContext As TeamFoundationRequestContext, _
    servicingOperation As String, _
    stepGroups As IEnumerable(Of String), _
    operationExecutionHandlers As IEnumerable(Of String), _
    servicingLock As TeamFoundationLock _
)
public void UpdateServicingOperation(
    TeamFoundationRequestContext requestContext,
    string servicingOperation,
    IEnumerable<string> stepGroups,
    IEnumerable<string> operationExecutionHandlers,
    TeamFoundationLock servicingLock
)

參數

例外狀況

例外狀況 條件
ServicingStepGroupNotFoundException

至少從 stepGroups 集合的服務步驟群組在組態資料庫未定義。

.NET Framework 安全性

請參閱

參考

TeamFoundationServicingService 類別

UpdateServicingOperation 多載

Microsoft.TeamFoundation.Framework.Server 命名空間