This documentation is archived and is not being maintained.

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)

public:
String^ GetNextState(
	String^ currentState, 
	String^ action
)

Parameters

currentState
Type: System::String

The current state of this work item type.

action
Type: System::String

The action to be taken.

Return Value

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

ExceptionCondition
ArgumentNullException

At least one parameter is null.

Show: