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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for