InstallCanceledException Constructor (msg, innerException)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation InstallCanceledException Constructor (msg, innerException)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallCanceledExceptionInstallCanceledException(String, Exception)
Creates a new InstallCanceledException with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration Syntax
C# Visual Basic Visual C++
public InstallCanceledException(
	string msg,
	Exception innerException
)
Public Sub New ( 
	msg As String,
	innerException As Exception
)
public:
InstallCanceledException(
	String^ msg, 
	Exception^ innerException
)
Parameters
msg (String)
The message that describes the error.
innerException (Exception)
The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

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