Install Method
When overridden in a derived class, performs the installation.
Syntax
'Declaration Public Overrides Sub Install( _ ByVal stateSaver As IDictionary _ )
'Usage Dim instance As MessageQueueInstaller Dim stateSaver As IDictionary instance.Install(stateSaver)
public override void Install( IDictionary stateSaver )
public: void Install( IDictionary^ stateSaver ) override
Parameters
- stateSaver
- An System.Collections.IDictionary used to save information needed to perform a commit, rollback, or uninstall operation.
Exceptions
Exception | Description |
---|---|
System.ArgumentException | The stateSaver parameter is null. |
System.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. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also