WorkItemAsyncEventArgs Constructor
Initializes a new WorkItemAsyncEventArgs instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Sub New ( _
car As CancelableAsyncResult, _
oldState As CancelableActionState, _
newState As CancelableActionState _
)
public WorkItemAsyncEventArgs(
CancelableAsyncResult car,
CancelableActionState oldState,
CancelableActionState newState
)
public:
WorkItemAsyncEventArgs(
CancelableAsyncResult^ car,
CancelableActionState oldState,
CancelableActionState newState
)
new :
car:CancelableAsyncResult *
oldState:CancelableActionState *
newState:CancelableActionState -> WorkItemAsyncEventArgs
public function WorkItemAsyncEventArgs(
car : CancelableAsyncResult,
oldState : CancelableActionState,
newState : CancelableActionState
)
Parameters
car
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.CancelableAsyncResultThe result.
oldState
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.CancelableActionStateThe old state. This will be changed at the end of the event, unless the event is canceled.
newState
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.CancelableActionStateThe new state. This will be changed at the end of the event, unless the event is canceled.
Remarks
Sets the internal result, the old state, and the new state.
.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.