Share via


EventsObjectWrapper.FireError(Int32, String, String, String, Int32) メソッド

定義

エラーが発生したときにイベントを発生させます。

public:
 bool FireError(int errorCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext);
public bool FireError (int errorCode, string subComponent, string description, string helpFile, int helpContext);
member this.FireError : int * string * string * string * int -> bool
Public Function FireError (errorCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer) As Boolean

パラメーター

errorCode
Int32

エラー メッセージを識別します。

subComponent
String

イベント ソースについての詳細を格納します。

description
String

メッセージのテキストです。

helpFile
String

詳細な情報を含むヘルプ ファイルのパスです。

helpContext
Int32

ヘルプ ファイルのトピックの識別子です。

戻り値

イベントの発生を継続する必要がある場合は True。それ以外の場合は false。

適用対象