Dispose Method (disposing)

Microsoft Deployment Tools

Deployment Tools Foundation Dispose Method (disposing)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerHandleDispose(Boolean)
Closes the handle. After closing a handle, further method calls may throw an InvalidHandleException.
Declaration Syntax
C# Visual Basic Visual C++
protected virtual void Dispose(
	bool disposing
)
Protected Overridable Sub Dispose ( _
	disposing As Boolean _
)
protected:
virtual void Dispose(
	bool disposing
)
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, the method has been called by the runtime from inside the finalizer, and only unmanaged resources will be disposed.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)