IDTSComponentEvents.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);
abstract member 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

エラー メッセージを識別する Integer です。

subComponent
String

イベント ソースについての詳細を含む String です。

description
String

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

helpFile
String

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

helpContext
Int32

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

戻り値

イベントの発生を継続するか停止するかを示すブール値。 値 true は、イベントの発生を継続する必要があることを示します。

注釈

いくつかのイベントには subComponent パラメーターがあります。このパラメーターを使用すると、より詳細なイベント ソースを指定できます。

適用対象