Utilizes reflection to search for the snap-ins that are defined within the currently loaded assembly. The resulting metadata is then used to populate or remove register entries that correspond to each snap-in. For each assemblies in which snap-ins are defined, a class that is derived from the class must exist with the RunInstallerAttribute set to true. Unless additional assembly registration needs to be performed, this derived class declaration does not need to override any of the virtual methods. The derived class provides an entry point for tools such as InstallUtil.exe to execute the framework installer code. The class is the base class for snap-in registration.
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
The current implementation of the class assumes and enforces the fact that an assembly contains at most one snap-in per assembly. Furthermore, it is assumed that all of the nodes for that snap-in that can be registered are also defined within the assembly. Any nodes that are defined within an assembly are assumed to be associated with the snap-in that is defined within that assembly.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.