IDTSComponentMetaData100.FireError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- ErrorCode
- Int32
- SubComponent
- String
- Description
- String
- HelpFile
- String
- HelpContext
- Int32
- pbCancel
- Boolean
- Attributes
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.