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.StringThe current state of this work item type.
action
Type: System.StringThe action to be taken.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.