System.Messaging Reference (Document! X Sample)
Commit Method (MessageQueueInstaller)



System.Messaging Namespace > MessageQueueInstaller Class : Commit Method
An System.Collections.IDictionary that contains the state of the computer after all the installers in the collection have run.
When overridden in a derived class, completes the install transaction.
Syntax
'Declaration
 
Public Overrides Sub Commit( _
   ByVal savedState As IDictionary _
) 
'Usage
 
Dim instance As MessageQueueInstaller
Dim savedState As IDictionary
 
instance.Commit(savedState)
public override void Commit( 
   IDictionary savedState
)
public:
void Commit( 
   IDictionary^ savedState
) override 

Parameters

savedState
An System.Collections.IDictionary that contains the state of the computer after all the installers in the collection have run.
Exceptions
ExceptionDescription
The savedState parameter is null.-or- The saved-state System.Collections.IDictionary might have been corrupted.
An exception occurred during the System.Configuration.Install.Installer.Commit(System.Collections.IDictionary) phase of the installation. This exception is ignored and the installation continues. However, the application might not function correctly after the installation is complete.
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

Reference

MessageQueueInstaller Class
MessageQueueInstaller Members
Base Implementation in Commit