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图标。 在执行过程中,错误事件可能导致包执行终止。

适用于