Deployment Tools Foundation
Dispose Method (disposing)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► InstallerHandle ► Dispose(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.dll) Version: 3.0.0.0 (3.9.1006.0)