Partager via


Classe DefaultEvents

Defines the default events that are provided by the Integration Services run-time.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime..::..DefaultEvents

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Class DefaultEvents _
    Implements IDTSEvents
'Utilisation
Dim instance As DefaultEvents
public class DefaultEvents : IDTSEvents
public ref class DefaultEvents : IDTSEvents
type DefaultEvents =  
    class
        interface IDTSEvents
    end
public class DefaultEvents implements IDTSEvents

Le type DefaultEvents expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DefaultEvents Initializes a new instance of the DefaultEvents class.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique OnBreakpointHit This method is called whenever a breakpoint is hit within a task.
Méthode publique OnCustomEvent This method is called by tasks to raise custom task-defined events.
Méthode publique OnError This event is raised by a task or container when an error occurs.
Méthode publique OnExecutionStatusChanged This event is raised by a task or container when its execution status changes.
Méthode publique OnInformation This event is raised anytime the task is to provide information.
Méthode publique OnPostExecute This method is called immediately after the execution logic of the task completes. This event is raised by a task or container immediately after it runs.
Méthode publique OnPostValidate This method is called immediately after the validation logic of the task completes. This event is raised by a task after the task is validated.
Méthode publique OnPreExecute This method is called when the execution logic begins. This event is raised by a task or a container immediately before it runs.
Méthode publique OnPreValidate This method is called when the validation logic of the task starts. This event is raised when the validation of the task host or container begins.
Méthode publique OnProgress This method is called anytime a task experiences measurable progress.
Méthode publique OnQueryCancel This method is called at any juncture in task processing where it is feasible to cancel execution. This event is raised by tasks and containers to determine whether they should stop running.
Méthode publique OnTaskFailed This event is raised by the task host when it fails.
Méthode publique OnVariableValueChanged This event is used by the Integration Services run-time. It is not called by tasks.
Méthode publique OnWarning This event is raised anytime the task is in a state that does not justify an error, but does warrant alerting the client.
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

Because firing of an event and generating the information sent with an event is potentially expensive, there is a mechanism for suppressing events when a client is not interested in that particular event. Every event firing method has a fireAgain parameter. If the value of this variable is false after the method returns, the caller should not fire this event again for the duration of the current execution.

For more information about the events provided by the Integration Services run-time, see Gestionnaires d'événements d'Integration Services.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.