Share via


ASTaskBase.FireError Method (Int32, String, String, String)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Raises an event when an error occurs.

Namespace:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly:  Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)

Syntax

'Declaration
Protected Sub FireError ( _
    errorCode As Integer, _
    subComponent As String, _
    message As String, _
    helpLink As String _
)
'Usage
Dim errorCode As Integer 
Dim subComponent As String 
Dim message As String 
Dim helpLink As String 

Me.FireError(errorCode, subComponent, _
    message, helpLink)
protected void FireError(
    int errorCode,
    string subComponent,
    string message,
    string helpLink
)
protected:
void FireError(
    int errorCode, 
    String^ subComponent, 
    String^ message, 
    String^ helpLink
)
member FireError : 
        errorCode:int * 
        subComponent:string * 
        message:string * 
        helpLink:string -> unit
protected function FireError(
    errorCode : int, 
    subComponent : String, 
    message : String, 
    helpLink : String
)

Parameters

  • errorCode
    Type: System.Int32
    An Integer that identifies the error message.
  • subComponent
    Type: System.String
    A String that contains more detail about the event source.
  • helpLink
    Type: System.String
    The path to the Help file that contains detailed information.

See Also

Reference

ASTaskBase Class

FireError Overload

Microsoft.DataTransformationServices.Tasks.DTSProcessingTask Namespace