Classe DefaultEvents

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

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

Nel tipo DefaultEvents sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DefaultEvents Initializes a new instance of the DefaultEvents class.

In alto

Metodi

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

In alto

Osservazioni

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 Gestori di eventi in Integration Services.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.