Share via


ASTaskBase.FireError Method

Definition

Raises an event when an error occurs.

Overloads

FireError(String, String)

Raises an event when an error occurs.

FireError(Int32, String, String, String)

Raises an event when an error occurs.

FireError(String, String)

Raises an event when an error occurs.

protected:
 void FireError(System::String ^ subComponent, System::String ^ message);
protected void FireError (string subComponent, string message);
member this.FireError : string * string -> unit
Protected Sub FireError (subComponent As String, message As String)

Parameters

subComponent
String

A String that contains more detail about the event source.

message
String

The text of the message.

Applies to

FireError(Int32, String, String, String)

Raises an event when an error occurs.

protected:
 void FireError(int errorCode, System::String ^ subComponent, System::String ^ message, System::String ^ helpLink);
protected void FireError (int errorCode, string subComponent, string message, string helpLink);
member this.FireError : int * string * string * string -> unit
Protected Sub FireError (errorCode As Integer, subComponent As String, message As String, helpLink As String)

Parameters

errorCode
Int32

An Integer that identifies the error message.

subComponent
String

A String that contains more detail about the event source.

message
String

The text of the message.

helpLink
String

The path to the Help file that contains detailed information.

Applies to