Share via


WizardPage.ShowError(Exception, String, Boolean) Method

Definition

Displays the specified exception and information about the exception.

protected:
 void ShowError(Exception ^ exception, System::String ^ message, bool isWarning);
protected void ShowError (Exception exception, string message, bool isWarning);
member this.ShowError : Exception * string * bool -> unit

Parameters

exception
Exception

The Exception that provides the message.

message
String

An additional message to display.

isWarning
Boolean

true to display a warning symbol; false to display an error symbol.

Remarks

If the isWarning parameter is true, the exception displays a warning symbol. Otherwise, the exception displays an error symbol. The exception displays the value of the System.Exception.Message property followed by the message parameter string.

Applies to