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

エラーメッセージを識別する整数。

subComponent
String

イベントソースの詳細を含む文字列です。

description
String

メッセージのテキスト。

helpFile
String

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

helpContext
Int32

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

返品

イベントが発射を継続すべきか停止すべきかを示すブール数です。 trueの値は、イベントが引き続き発射されるべきであることを示します。

注釈

いくつかのイベントには subComponent パラメータがあり、さらに細かくイベントソースの識別を可能にします。

適用対象