语言

IDTSInfoEvents100.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

一个布尔值,表示是否应取消发射或继续发射。

属性

适用于