言語

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

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

返品

イベントが引き続き発射される場合は、そうでなければ、誤りです。

適用対象