

Deployment Tools Foundation
InstallCanceledException Constructor (msg, innerException)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► InstallCanceledException ► InstallCanceledException(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.

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 )

- 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)