Delen via


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

Updates the servicing operation. All servicing step groups listed in the stepGroups collection must be added to the configuration database before you call this method.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
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
)
public:
void UpdateServicingOperation(
    TeamFoundationRequestContext^ requestContext, 
    String^ servicingOperation, 
    IEnumerable<String^>^ stepGroups, 
    IEnumerable<String^>^ operationExecutionHandlers, 
    TeamFoundationLock^ servicingLock
)
member UpdateServicingOperation : 
        requestContext:TeamFoundationRequestContext * 
        servicingOperation:string * 
        stepGroups:IEnumerable<string> * 
        operationExecutionHandlers:IEnumerable<string> * 
        servicingLock:TeamFoundationLock -> unit
public function UpdateServicingOperation(
    requestContext : TeamFoundationRequestContext, 
    servicingOperation : String, 
    stepGroups : IEnumerable<String>, 
    operationExecutionHandlers : IEnumerable<String>, 
    servicingLock : TeamFoundationLock
)

Parameters

Exceptions

Exception Condition
ServicingStepGroupNotFoundException

At least one servicing step group from the stepGroups collection is not defined in the configuration database.

.NET Framework Security

See Also

Reference

TeamFoundationServicingService Class

UpdateServicingOperation Overload

Microsoft.TeamFoundation.Framework.Server Namespace