WorkItemType.GetNextState Method

Gets the next state of this work item type based on the current state and the specified action.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Function GetNextState ( _
    currentState As String, _
    action As String _
) As String
public string GetNextState(
    string currentState,
    string action
)
public:
String^ GetNextState(
    String^ currentState, 
    String^ action
)
member GetNextState : 
        currentState:string * 
        action:string -> string
public function GetNextState(
    currentState : String, 
    action : String
) : String

Parameters

  • currentState
    Type: System.String

    The current state of this work item type.

Return Value

Type: System.String
The next state of this work item type.

Exceptions

Exception Condition
ArgumentNullException

At least one parameter is null.

.NET Framework Security

See Also

Reference

WorkItemType Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace