SnapInInstaller (Microsoft.ManagementConsole.SnapInInstaller)

Inherits: System.Configuration.Install.Installer

Interfaces: IDisposable, IComponent

Derived Types: 4 (Click here to see a list of derived types)

Assembly: Microsoft.ManagementConsole.dll

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 SnapInInstaller 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 SnapInInstaller virtual methods. The derived class provides an entry point for tools such as InstallUtil.exe to execute the framework installer code. The SnapInInstaller class is the base class for snap-in registration.

VB.NET C#

VB.NET

Public Class SnapInInstaller
  Inherits System.Configuration.Install.Installer
  Implements System.IDisposable, System.ComponentModel.IComponent
End Class

Articles

Custom .NET Training ASP.NET Training Silverlight Training LINQ Training IT Support