InstallException Constructor (String^, Exception^)

 

Initializes a new instance of the InstallException class, and specifies the message to display to the user, and a reference to the inner exception that is the cause of this exception.

Namespace:   System.Configuration.Install
Assembly:  System.Configuration.Install (in System.Configuration.Install.dll)

public:
InstallException(
	String^ message,
	Exception^ innerException
)

Parameters

message
Type: System::String^

The message to display to the user.

innerException
Type: System::Exception^

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

.NET Framework
Available since 1.1
Return to top
Show: