Performs the installation. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As InitializerInstaller
Dim stateSaver As IDictionary

instance.Install(stateSaver)

Syntax

Visual Basic
Public Overrides Sub Install ( _
		stateSaver As IDictionary _
)
C#
public override void Install (
		IDictionary stateSaver
)
C++
public:
virtual void Install (
		IDictionary^ stateSaver
) override
J#
public void Install (
		IDictionary stateSaver
)
JScript
public override function Install (
		stateSaver : IDictionary
)

Parameters

stateSaver

[in] System.Collections.IDictionary object that represents the state saver to use in the installation.

Exceptions

Exception type Condition
ArgumentException

The stateSaver parameter cannot be null.

Exception

An exception occurred in the System.Configuration.Install.Installer.BeforeInstall event handler of one of the installers in the collection.

-or-

An exception occurred in the System.Configuration.Install.Installer.AfterInstall event handler of one of the installers in the collection.

InvalidOperationException

There were no connection managers to install.

Remarks

Your application must override this method in a derived class.


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.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also