Compartilhar via


ConsoleParentNode.OnAction Method

Handles a notification that an action is triggered for the console parent node.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim action As Action
Dim status As AsyncStatus

Me.OnAction(action, status)

Syntax

'Declaration
Protected Overrides Sub OnAction ( _
    action As Action, _
    status As AsyncStatus _
)
protected override void OnAction (
    Action action,
    AsyncStatus status
)
protected:
virtual void OnAction (
    Action^ action, 
    AsyncStatus^ status
) override
protected void OnAction (
    Action action, 
    AsyncStatus status
)
protected override function OnAction (
    action : Action, 
    status : AsyncStatus
)

Parameters

  • action
    [in] Microsoft.ManagementConsole.Action object.
  • status
    [in] Microsoft.ManagementConsole.AsyncStatus object.

Remarks

Your application must override this method in a derived class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ConsoleParentNode Class
ConsoleParentNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
Action