IDTSComponentMetaData100.FireError(Int32, String, String, String, Int32, Boolean) IDTSComponentMetaData100.FireError(Int32, String, String, String, Int32, Boolean) IDTSComponentMetaData100.FireError(Int32, String, String, String, Int32, Boolean) Method

Definition

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);
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 Int32 Int32

The component-defined error code.

SubComponent
String String String

The name of the component that raises the event.

Description
String String String

The description of the error.

HelpFile
String String String

The help file that provides more information about the error event.

HelpContext
Int32 Int32 Int32

The context ID for the error.

pbCancel
Boolean Boolean Boolean

Specifies whether execution of the component is cancelled.

Remarks

An OnError event can be raised during package design or execution. During design time, errors are displayed in the Task List window and also cause a red X icon to be displayed next to the component shape on the designer surface. During execution, the error event may cause package execution to terminate.

Applies to