Share via


IDTSInfoEvents100.FireError Method

Definition

Fires an error.

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)

Parameters

ErrorCode
Int32

The error message.

SubComponent
String

The sub-module within a source.

Description
String

Text of the message.

HelpFile
String

The path to the Help file that contains detailed information.

HelpContext
Int32

Identifier of the topic in the Help file.

pbCancel
Boolean

A Boolean that indicates if this should cancel firing or continue firing.

Attributes

Applies to