Share via


DefaultEvents 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Class DefaultEvents _
    Implements IDTSEvents
用法
Dim instance As DefaultEvents
public class DefaultEvents : IDTSEvents
public ref class DefaultEvents : IDTSEvents
type DefaultEvents =  
    class
        interface IDTSEvents
    end
public class DefaultEvents implements IDTSEvents

DefaultEvents 类型公开以下成员。

构造函数

  名称 说明
公共方法 DefaultEvents Initializes a new instance of the DefaultEvents class.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 OnBreakpointHit This method is called whenever a breakpoint is hit within a task.
公共方法 OnCustomEvent This method is called by tasks to raise custom task-defined events.
公共方法 OnError This event is raised by a task or container when an error occurs.
公共方法 OnExecutionStatusChanged This event is raised by a task or container when its execution status changes.
公共方法 OnInformation This event is raised anytime the task is to provide information.
公共方法 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.
公共方法 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.
公共方法 OnPreExecute This method is called when the execution logic begins. This event is raised by a task or a container immediately before it runs.
公共方法 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.
公共方法 OnProgress This method is called anytime a task experiences measurable progress.
公共方法 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.
公共方法 OnTaskFailed This event is raised by the task host when it fails.
公共方法 OnVariableValueChanged This event is used by the Integration Services run-time. It is not called by tasks.
公共方法 OnWarning This event is raised anytime the task is in a state that does not justify an error, but does warrant alerting the client.
公共方法 ToString (从 Object 继承。)

页首

注释

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 Integration Services 事件处理程序.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。