WizardPage.ShowError(Exception, String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.