IDTSComponentMetaData100.FireError 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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图标。 在执行过程中,错误事件可能导致包执行终止。