Deployment Tools Foundation
InstallerException Constructor (msg, innerException)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► InstallerException ► InstallerException(String, Exception)
Creates a new InstallerException 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++ | F# |
public InstallerException( string msg, Exception innerException )
Public Sub New ( msg As String, innerException As Exception )
public: InstallerException( String^ msg, Exception^ innerException )
new : msg : string * innerException : Exception -> InstallerException
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.11.1.2318)