IDTSComponentMetaData100.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(129)]
public void FireError(int ErrorCode, string SubComponent, string Description, string HelpFile, int HelpContext, out bool pbCancel);
[<System.Runtime.InteropServices.DispId(129)>]
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
屬性

備註

OnError事件可以在封包設計或執行時被提出。 設計時,錯誤會顯示在 任務清單 視窗,並會在設計者表面元件形狀旁顯示紅色 X 圖示。 執行過程中,錯誤事件可能導致封包執行終止。

適用於