다음을 통해 공유


IDTSEvents 인터페이스

Defines a set of events used by the TaskHost on behalf of a task.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Interface IDTSEvents
‘사용 방법
Dim instance As IDTSEvents
public interface IDTSEvents
public interface class IDTSEvents
type IDTSEvents =  interface end
public interface IDTSEvents

IDTSEvents 유형에서 다음 멤버를 표시합니다.

메서드

  이름 설명
공용 메서드 OnBreakpointHit Called when a breakpoint is hit within a task.
공용 메서드 OnCustomEvent Called by tasks to raise custom task-defined events.
공용 메서드 OnError Called by a task or container when an error occurs.
공용 메서드 OnExecutionStatusChanged Called by a task or container when its execution status changes.
공용 메서드 OnInformation Called any time the task is required to provide information.
공용 메서드 OnPostExecute Called immediately after the execution logic of the task completes. This event is raised by a task or container immediately after it runs.
공용 메서드 OnPostValidate Called immediately after the validation logic of the task completes. This event is raised by a task after the task is validated.
공용 메서드 OnPreExecute Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.
공용 메서드 OnPreValidate Called when the actual validation logic of the task starts. This event is raised when the validation of the task host or container begins.
공용 메서드 OnProgress Called to update progress about task execution.
공용 메서드 OnQueryCancel 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 Called by the task host when it fails.
공용 메서드 OnVariableValueChanged Called by the run-time engine. It is not called by tasks.
공용 메서드 OnWarning Called any time the task is in a state that does not justify an error, but does warrant alerting the client.

맨 위로 이동

주의

For each method, there is a related object in the DtsEventHandlers collection that handles the event. If the event is disabled, the object will not execute and will return false. If the object does not handle the event at the local level, the event is escalated to the parent container to be handled.

These methods provide indexes into the events collection for the corresponding event handler.

참고 항목

참조

Microsoft.SqlServer.Dts.Runtime 네임스페이스