言語

IDTSComponentEvents100.FireError メソッド

定義

エラーが発生するとイベントを発生させます。

public:
 void FireError(int ErrorCode, System::String ^ SubComponent, System::String ^ Description, System::String ^ HelpFile, int HelpContext, [Runtime::InteropServices::Out] bool % pbCancel);
[System.Runtime.InteropServices.DispId(2)]
public void FireError(int ErrorCode, string SubComponent, string Description, string HelpFile, int HelpContext, out bool pbCancel);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member FireError : int * string * string * string * int * bool -> unit
Public Sub FireError (ErrorCode As Integer, SubComponent As String, Description As String, HelpFile As String, HelpContext As Integer, ByRef pbCancel As Boolean)

パラメーター

ErrorCode
Int32

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

SubComponent
String

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

Description
String

メッセージのテキスト。

HelpFile
String

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

HelpContext
Int32

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

pbCancel
Boolean

このメソッドが戻ると、イベントが送信を継続するか停止するかを示すブール値が含まれます。 trueの値は、イベントが引き続き発射されるべきであることを示します。 falseの値は、イベントの発射を停止すべきことを示します。 このパラメーターは初期化されていない状態で渡されます。

実装

属性

適用対象