IDTSComponentEvents100.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.
Raises an event when an error occurs.
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
An Integer that identifies the error message.
- SubComponent
- String
A String that contains more detail about the event source.
- Description
- String
The text of the message.
- HelpFile
- String
The path to the Help file that contains detailed information.
- HelpContext
- Int32
The identifier of the topic in the Help file.
- pbCancel
- Boolean
When this method returns, contains a Boolean that indicates whether the event should continue firing or stop firing. A value of true indicates that the event should continue firing. A value of false indicates that the event should stop firing. This parameter is passed uninitialized.
Implements
- Attributes