View.OnModeAction Method (Action, AsyncStatus)
Handles the execution of an action that is used to configure view modes.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
protected virtual void OnModeAction(
Action action,
AsyncStatus status
)
protected:
virtual void OnModeAction(
Action^ action,
AsyncStatus^ status
)
abstract OnModeAction :
action:Action *
status:AsyncStatus -> unit
override OnModeAction :
action:Action *
status:AsyncStatus -> unit
Protected Overridable Sub OnModeAction (
action As Action,
status As AsyncStatus
)
Parameters
action
Type: Microsoft.ManagementConsole.ActionThe action to execute.
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