Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This class provides an entry point for a namespace extension. It is 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.NamespaceSnapInBase
Microsoft.ManagementConsole.Advanced.NamespaceExtension
Syntax
public abstract class NamespaceExtension : NamespaceSnapInBase
public ref class NamespaceExtension abstract : NamespaceSnapInBase
[<AbstractClass>]
type NamespaceExtension =
class
inherit NamespaceSnapInBase
end
Public MustInherit Class NamespaceExtension
Inherits NamespaceSnapInBase
Constructors
Name | Description | |
---|---|---|
![]() |
NamespaceExtension() | Initializes a new instance of the NamespaceExtension class. |
Properties
Name | Description | |
---|---|---|
![]() |
Console | Gets the console object that exposes the functionality of the main MMC console window. (Inherited from NamespaceSnapInBase.) |
![]() |
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.) |
![]() |
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.) |
![]() |
IsModified | Gets or sets a flag that tells the MMC runtime whether the snap-in has data that needs to be saved. (Inherited from NamespaceSnapInBase.) |
![]() |
LargeImages | Gets the list of 32 x 32 images for the snap-in and its elements. (Inherited from NamespaceSnapInBase.) |
![]() |
PrimaryNode | Gets the primary node that is extended. |
![]() |
SmallImages | Gets the list of 16 x 16 images for the snap-in and its elements. (Inherited from NamespaceSnapInBase.) |
![]() |
Tag | Gets or sets an object that contains application-specific information that is associated with the snap-in.(Inherited from SnapInBase.) |
Methods
Name | Description | |
---|---|---|
![]() |
BeginInvoke(Delegate) | Executes the specified delegate asynchronously on the thread that the snap-in was created on.(Inherited from SnapInBase.) |
![]() |
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.) |
![]() |
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.) |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Invoke(Delegate) | Executes the delegate on the main thread that the snap-in executes on. (Inherited from SnapInBase.) |
![]() |
Invoke(Delegate, Object[]) | Executes the delegate on the main thread that the snap-in executes on. (Inherited from SnapInBase.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
OnInitialize() | Called when a snap-in is initialized. It allows derived classes to provide additional initialization. (Inherited from SnapInBase.) |
![]() |
OnLoadCustomData(AsyncStatus, Byte[]) | Passes data that is contained in the console file to the snap-in. (Inherited from NamespaceSnapInBase.) |
![]() |
OnRetrievePersistenceKey() | Called when namespace extension persistence occurs to get instance-specific data. |
![]() |
OnSaveCustomData(SyncStatus) | Retrieves a serializable object that the snap-in can persist into a binary section in the console file. (Inherited from NamespaceSnapInBase.) |
![]() |
OnSharedDataChanged(SharedDataItem) | Called when published data on the primary node changes. |
![]() |
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.) |
![]() |
RegisterCurrentThreadForUI() | Called on a background thread to register it as a candidate for showing pop-up UI. (Inherited from SnapInBase.) |
![]() |
ShowHelpTopic(String) | Displays a help topic. (Inherited from SnapInBase.) |
![]() |
ToString() | (Inherited from Object.) |
![]() |
UnregisterCurrentThreadForUI() | Called on a background thread to unregister it as a candidate for showing pop-up UI. (Inherited from SnapInBase.) |
![]() |
UpdateSnapInExtensions() | Updates MMC's internal cache of available extensions for the snap-in. (Inherited from NamespaceSnapInBase.) |
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