IDTSEvents100 Interface

Définition

Définit les méthodes pour les événements.

public interface class IDTSEvents100
[System.Runtime.InteropServices.Guid("C003D4F1-7DC4-4EEC-A498-635F18B35296")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSEvents100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("5D3DE54E-2203-48ED-9C06-F72C8E10BD84")]
public interface IDTSEvents100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("2DA57214-161A-4748-9989-1F7DB695C2DF")]
public interface IDTSEvents100
[<System.Runtime.InteropServices.Guid("C003D4F1-7DC4-4EEC-A498-635F18B35296")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSEvents100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("5D3DE54E-2203-48ED-9C06-F72C8E10BD84")>]
type IDTSEvents100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("2DA57214-161A-4748-9989-1F7DB695C2DF")>]
type IDTSEvents100 = interface
Public Interface IDTSEvents100
Attributs

Méthodes

Nom Description
OnBreakpointHit(IDTSBreakpointSite100, IDTSBreakpointTarget100)

Appelé lorsqu’un point d’arrêt est atteint dans une tâche.

OnCustomEvent(IDTSTaskHost100, String, String, Object[], String, Boolean)

Appelée par les tâches pour déclencher des événements personnalisés définis par la tâche.

OnError(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean)

Appelée par une tâche ou un conteneur lorsqu'une erreur se produit.

OnExecutionStatusChanged(IDTSExecutable100, DTSExecStatus, Boolean)

Appelé par une tâche ou un conteneur lorsque son statut d’exécution change.

OnInformation(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean)

Appelée à chaque fois que la tâche est requise pour fournir des informations.

OnPostExecute(IDTSExecutable100, Boolean)

Appelé immédiatement après la fin de la logique d’exécution de la tâche. Cet événement est déclenché par une tâche ou un conteneur immédiatement après son exécution.

OnPostValidate(IDTSExecutable100, Boolean)

Appelée immédiatement après la fin de la logique de validation de la tâche. Cet événement est déclenché par une tâche après que celle-ci a été validée.

OnPreExecute(IDTSExecutable100, Boolean)

Appelée lorsqu'une tâche est sur le point de s'exécuter. Cet événement est déclenché par une tâche ou un conteneur immédiatement avant son exécution.

OnPreValidate(IDTSExecutable100, Boolean)

Appelée lorsque la logique de validation réelle de la tâche commence. Cet événement est déclenché lorsque la validation de l’hôte de tâche ou du conteneur commence.

OnProgress(IDTSTaskHost100, String, Int32, Int32, Int32, String, Boolean)

Appelée pour mettre à jour la progression de l'exécution de la tâche.

OnQueryCancel(Boolean)

Indique une méthode appelée à tout moment du traitement des tâches où il est possible d’annuler l’exécution. Cet événement est déclenché par les tâches et les conteneurs pour déterminer s’ils doivent s’arrêter de fonctionner.

OnTaskFailed(IDTSTaskHost100)

Appelée par l'hôte de la tâche lorsqu'il échoue.

OnVariableValueChanged(IDTSContainer100, IDTSVariable100, Boolean)

Appelé par le moteur de runtime. Il n’est pas appelé par des tâches.

OnWarning(IDTSRuntimeObject100, Int32, String, String, String, Int32, String)

Appelée à tout moment où la tâche se trouve dans un état qui ne justifie pas une erreur, mais qui justifie d’alerter le client.

S’applique à