Dispose Method (disposing)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Dispose Method (disposing)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerDatabaseDispose(Boolean)
Closes the database handle. After closing a handle, further method calls may throw InvalidHandleException.
Declaration Syntax
C# Visual Basic Visual C++
protected override void Dispose(
	bool disposing
)
Protected Overrides Sub Dispose ( 
	disposing As Boolean
)
protected:
virtual void Dispose(
	bool disposing
) override
Parameters
disposing (Boolean)
If true, the method has been called directly or indirectly by a user's code, so managed and unmanaged resources will be disposed. If false, only unmanaged resources will be disposed.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)