Freigeben über


DefaultEvents-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Class DefaultEvents _
    Implements IDTSEvents
'Usage
Dim instance As DefaultEvents
public class DefaultEvents : IDTSEvents
public ref class DefaultEvents : IDTSEvents
type DefaultEvents =  
    class
        interface IDTSEvents
    end
public class DefaultEvents implements IDTSEvents

Der DefaultEvents-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode DefaultEvents Initializes a new instance of the DefaultEvents class.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode OnBreakpointHit This method is called whenever a breakpoint is hit within a task.
Öffentliche Methode OnCustomEvent This method is called by tasks to raise custom task-defined events.
Öffentliche Methode OnError This event is raised by a task or container when an error occurs.
Öffentliche Methode OnExecutionStatusChanged This event is raised by a task or container when its execution status changes.
Öffentliche Methode OnInformation This event is raised anytime the task is to provide information.
Öffentliche Methode 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.
Öffentliche Methode 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.
Öffentliche Methode OnPreExecute This method is called when the execution logic begins. This event is raised by a task or a container immediately before it runs.
Öffentliche Methode 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.
Öffentliche Methode OnProgress This method is called anytime a task experiences measurable progress.
Öffentliche Methode 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.
Öffentliche Methode OnTaskFailed This event is raised by the task host when it fails.
Öffentliche Methode OnVariableValueChanged This event is used by the Integration Services run-time. It is not called by tasks.
Öffentliche Methode OnWarning This event is raised anytime the task is in a state that does not justify an error, but does warrant alerting the client.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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 Ereignishandler von SQL Server Integration Services.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.