SyncAction Class

 

Represents an action that is defined by a snap-in. This action may be exposed through various UI elements to the end user.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.ActionsPaneItem
    Microsoft.ManagementConsole.ActionsPaneExtendedItem
      Microsoft.ManagementConsole.ActionBase
        Microsoft.ManagementConsole.SyncAction

Syntax

public sealed class SyncAction : ActionBase
public ref class SyncAction sealed : ActionBase
[<Sealed>]
type SyncAction = 
    class
        inherit ActionBase
    end
Public NotInheritable Class SyncAction
    Inherits ActionBase

Constructors

Name Description
System_CAPS_pubmethod SyncAction()

Initializes a new instance of the SyncAction class.

System_CAPS_pubmethod SyncAction(String, String)

Initializes a new instance of the SyncAction class using the display name and a long description for the item as parameters.

System_CAPS_pubmethod SyncAction(String, String, Int32)

Initializes a new instance of the SyncAction class using the display name, description, and image index of the image for the item as parameters.

System_CAPS_pubmethod SyncAction(String, String, Int32, Object)

Initializes a new instance of the SyncAction class using the display name, description, image index, and a user-defined tag as parameters.

Properties

Name Description
System_CAPS_pubproperty Bulleted

Gets or sets the bulleted state of the action.(Inherited from ActionBase.)

System_CAPS_pubproperty Checked

Gets or sets the checked state of the action.(Inherited from ActionBase.)

System_CAPS_pubproperty Description

Gets or sets the status bar text.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty DisplayName

Gets or sets the display name for the action. If the MnemonicDisplayName property is not empty, it is used instead of the DisplayName property for UI that supports mnemonics.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty Enabled

Gets or sets the enabled state of the action.(Inherited from ActionBase.)

System_CAPS_pubproperty ImageIndex

Gets or sets the index of the image for the actions pane extended item.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty LanguageIndependentName

Gets or sets a language-independent name that uniquely identifies an item in the set of actions for an object. If this value is not specified or is empty, the value of the DisplayName property is used.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty MnemonicDisplayName

Gets or sets the mnemonic display name for the action. If available, this value is used in UI that supports mnemonics, such as menus and actions panes.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty Tag

Gets or sets an optional user-defined value that is useful in identifying an event when it is handled.(Inherited from ActionsPaneItem.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent Triggered

Occurs when the SyncAction is triggered.

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.

See Also

Microsoft.ManagementConsole Namespace

Return to top