Dispose Method (disposing)

DTF API

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++ F#
protected override void Dispose(
	bool disposing
)
Protected Overrides Sub Dispose ( 
	disposing As Boolean
)
protected:
virtual void Dispose(
	bool disposing
) override
abstract Dispose : 
        disposing : bool -> unit 
override Dispose : 
        disposing : bool -> unit 
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.11.1.2318)