View.OnAction Method (Action, AsyncStatus)
Handles the execution of a selection-independent action.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
protected virtual void OnAction(
Action action,
AsyncStatus status
)
protected:
virtual void OnAction(
Action^ action,
AsyncStatus^ status
)
abstract OnAction :
action:Action *
status:AsyncStatus -> unit
override OnAction :
action:Action *
status:AsyncStatus -> unit
Protected Overridable Sub OnAction (
action As Action,
status As AsyncStatus
)
Parameters
action
Type: Microsoft.ManagementConsole.ActionThe executed action.
status
Type: Microsoft.ManagementConsole.AsyncStatusThe object that holds the status information.
Remarks
Modal dialogs should not be shown during any request that takes an AsyncStatus object as a parameter.
See Also
View Class
Microsoft.ManagementConsole Namespace
Return to top