次の方法で共有


WizardPage.ShowError(Exception, String, Boolean) メソッド

定義

指定した例外と例外に関する情報を表示します。

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

パラメーター

exception
Exception

Exceptionメッセージを提供する 。

message
String

表示する追加のメッセージ。

isWarning
Boolean

true 警告記号を表示する場合は 。 false をクリックすると、エラー 記号が表示されます。

注釈

パラメーターが の isWarning 場合、 true例外は警告記号を表示します。 それ以外の場合、例外はエラー 記号を表示します。 例外では、 プロパティの値の後に System.Exception.Message パラメーター文字列が message 表示されます。

適用対象