InstallerHandle Constructor (handle, ownsHandle)

DTF API

Copy image CopyHover image
Deployment Tools Foundation InstallerHandle Constructor (handle, ownsHandle)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerHandleInstallerHandle(IntPtr, Boolean)
Constructs a handle object from a native integer handle.
Declaration Syntax
C# Visual Basic Visual C++ F#
protected InstallerHandle(
	IntPtr handle,
	bool ownsHandle
)
Protected Sub New ( 
	handle As IntPtr,
	ownsHandle As Boolean
)
protected:
InstallerHandle(
	IntPtr handle, 
	bool ownsHandle
)
new : 
        handle : IntPtr * 
        ownsHandle : bool -> InstallerHandle
Parameters
handle (IntPtr)
Native integer handle.
ownsHandle (Boolean)
true to close the handle when this object is disposed or finalized

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