共用方式為


PropertySheetExtension Class

 

Provides an entry point for a property sheet extension. It is also the entry point for custom code execution.

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

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.SnapInBase
    Microsoft.ManagementConsole.Advanced.PropertySheetExtension

Syntax

public class PropertySheetExtension : SnapInBase
public ref class PropertySheetExtension : SnapInBase
type PropertySheetExtension = 
    class
        inherit SnapInBase
    end
Public Class PropertySheetExtension
    Inherits SnapInBase

Constructors

Name Description
System_CAPS_protmethod PropertySheetExtension()

Initializes a new instance of the PropertySheetExtension class.

Properties

Name Description
System_CAPS_pubproperty ExtensionPropertySheet

Gets the extensions property sheet containing the extension pages.

System_CAPS_protproperty Id

Gets the identifier for the instance of the snap-in. The identifier is unique across snap-in instances within a console. (Inherited from SnapInBase.)

System_CAPS_pubproperty InvokeRequired

Gets a value that indicates whether the caller must call the Invoke or the BeginInvoke methods when calling a method on a snap-in component. This distinction is necessary when the caller is on a different thread than the thread that the snap-in was created on. (Inherited from SnapInBase.)

System_CAPS_pubproperty SharedData

Gets the published data for the primary sheet.

System_CAPS_pubproperty Tag

Gets or sets an object that contains application-specific information that is associated with the snap-in.(Inherited from SnapInBase.)

Methods

Name Description
System_CAPS_pubmethod BeginInvoke(Delegate)

Executes the specified delegate asynchronously on the thread that the snap-in was created on.(Inherited from SnapInBase.)

System_CAPS_pubmethod BeginInvoke(Delegate, Object[])

Executes the specified delegate with its specified arguments on the main thread that the snap-in was created on. (Inherited from SnapInBase.)

System_CAPS_pubmethod EndInvoke(IAsyncResult)

Waits until the process that was started by calling BeginInvoke completes. This method then retrieves the return value of the asynchronous operation identified by the result parameter. (Inherited from SnapInBase.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetNodeTypes()

Gets the array of node types that are provided.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(Delegate)

Executes the delegate on the main thread that the snap-in executes on. (Inherited from SnapInBase.)

System_CAPS_pubmethod Invoke(Delegate, Object[])

Executes the delegate on the main thread that the snap-in executes on. (Inherited from SnapInBase.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnAddPropertyPages(PropertyPageCollection)

Called to get the extension property pages.

System_CAPS_protmethod OnInitialize()

Called when a snap-in is initialized. It allows derived classes to provide additional initialization. (Inherited from SnapInBase.)

System_CAPS_protmethod OnSharedDataChanged(SharedDataItem)

Called when published data on the primary node changes.

System_CAPS_protmethod OnShutdown(AsyncStatus)

Called when the snap-in is shutting down. Once this call returns, actions which modify the console, such as adding nodes, or modifying view descriptions, are not honored. (Inherited from SnapInBase.)

System_CAPS_pubmethod RegisterCurrentThreadForUI()

Called on a background thread to register it as a candidate for showing pop-up UI. (Inherited from SnapInBase.)

System_CAPS_pubmethod ShowHelpTopic(String)

Displays a help topic. (Inherited from SnapInBase.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UnregisterCurrentThreadForUI()

Called on a background thread to unregister it as a candidate for showing pop-up UI. (Inherited from SnapInBase.)

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.Advanced Namespace

Return to top