Share via


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

Définition

Déclenche une erreur.

public:
 bool FireError(int errorCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext);
public bool FireError (int errorCode, string subComponent, string description, string helpFile, int helpContext);
abstract member FireError : int * string * string * string * int -> bool
Public Function FireError (errorCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer) As Boolean

Paramètres

errorCode
Int32

Valeur Integer qui identifie le message d'erreur.

subComponent
String

Chaîne arbitraire qui identifie le sous-module au sein d'une source. Par exemple, la transformation dans une tâche Pipeline.

description
String

Texte du message.

helpFile
String

Chemin d'accès au fichier d'aide qui contient des informations détaillées.

helpContext
Int32

Identificateur de la rubrique dans le fichier d'aide.

Retours

Valeur booléenne qui indique si cela doit continuer à déclencher ou arrêter le déclenchement. La valeur true indique qu’elle doit continuer à déclencher.

Remarques

Fournit des informations sur une défaillance.

S’applique à