Partager via


Méthode ASTaskBase.FireError (Int32, String, String, String)

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Raises an event when an error occurs.

Espace de noms :  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly :  Microsoft.SqlServer.ASTasks (en Microsoft.SqlServer.ASTasks.dll)

Syntaxe

'Déclaration
Protected Sub FireError ( _
    errorCode As Integer, _
    subComponent As String, _
    message As String, _
    helpLink As String _
)
'Utilisation
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
)

Paramètres

  • 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.

Voir aussi

Référence

ASTaskBase Classe

Surcharge FireError

Espace de noms Microsoft.DataTransformationServices.Tasks.DTSProcessingTask