IDTSEvents 成員

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

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.

頂端