语言

IDTSInfoEvents.FireError(Int32, String, String, String, Int32) 方法

定义

触发错误。

public:
 bool FireError(int errorCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext);
public bool FireError(int errorCode, string subComponent, string description, string helpFile, int helpContext);
abstract member FireError : int * string * string * string * int -> bool
Public Function FireError (errorCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer) As Boolean

参数

errorCode
Int32

一个整数用于识别错误消息。

subComponent
String

一个任意字符串,用于标识源中的子模。 例如,管道任务中的变换。

description
String

消息的文本。

helpFile
String

通往包含详细信息的帮助文件的路径。

helpContext
Int32

帮助文件中主题的标识符。

返回

一个布尔值,指示该信号是否应继续发射或停止发射。 值为真则表示应继续发射。

注解

提供有关故障的信息。

适用于