This documentation is archived and is not being maintained.

WorkItemAsyncEventArgs Constructor

Initializes a new WorkItemAsyncEventArgs instance.

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

public:
WorkItemAsyncEventArgs(
	CancelableAsyncResult^ car, 
	CancelableActionState oldState, 
	CancelableActionState newState
)

Parameters

car
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::CancelableAsyncResult

The result.

oldState
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::CancelableActionState

The old state. This will be changed at the end of the event, unless the event is canceled.

newState
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::CancelableActionState

The new state. This will be changed at the end of the event, unless the event is canceled.

Sets the internal result, the old state, and the new state.

Show: