FromHandle Method (handle, ownsHandle)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation FromHandle Method (handle, ownsHandle)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerTransactionFromHandle(IntPtr, Boolean)
Creates a new Transaction object from an integer handle.
Declaration Syntax
C# Visual Basic Visual C++
public static Transaction FromHandle(
	IntPtr handle,
	bool ownsHandle
)
Public Shared Function FromHandle ( 
	handle As IntPtr,
	ownsHandle As Boolean
) As Transaction
public:
static Transaction^ FromHandle(
	IntPtr handle, 
	bool ownsHandle
)
Parameters
handle (IntPtr)
Integer transaction handle
ownsHandle (Boolean)
true to close the handle when this object is disposed
Return Value

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