共用方式為


IDTSEvents100 Interface

Definition

Defines methods for the events.

public interface class IDTSEvents100
[System.Runtime.InteropServices.Guid("C003D4F1-7DC4-4EEC-A498-635F18B35296")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSEvents100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("5D3DE54E-2203-48ED-9C06-F72C8E10BD84")]
public interface IDTSEvents100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("2DA57214-161A-4748-9989-1F7DB695C2DF")]
public interface IDTSEvents100
[<System.Runtime.InteropServices.Guid("C003D4F1-7DC4-4EEC-A498-635F18B35296")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSEvents100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("5D3DE54E-2203-48ED-9C06-F72C8E10BD84")>]
type IDTSEvents100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("2DA57214-161A-4748-9989-1F7DB695C2DF")>]
type IDTSEvents100 = interface
Public Interface IDTSEvents100
Attributes

Methods

OnBreakpointHit(IDTSBreakpointSite100, IDTSBreakpointTarget100)

Called when a breakpoint is hit within a task.

OnCustomEvent(IDTSTaskHost100, String, String, Object[], String, Boolean)

Called by tasks to raise custom task-defined events.

OnError(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean)

Called by a task or container when an error occurs.

OnExecutionStatusChanged(IDTSExecutable100, DTSExecStatus, Boolean)

Called by a task or container when its execution status changes.

OnInformation(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean)

Called any time the task is required to provide information.

OnPostExecute(IDTSExecutable100, Boolean)

Called immediately after the execution logic of the task completes. This event is raised by a task or container immediately after it runs.

OnPostValidate(IDTSExecutable100, Boolean)

Called immediately after the validation logic of the task completes. This event is raised by a task after the task is validated.

OnPreExecute(IDTSExecutable100, Boolean)

Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.

OnPreValidate(IDTSExecutable100, Boolean)

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(IDTSTaskHost100, String, Int32, Int32, Int32, String, Boolean)

Called to update progress about task execution.

OnQueryCancel(Boolean)

Indicates a method 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(IDTSTaskHost100)

Called by the task host when it fails.

OnVariableValueChanged(IDTSContainer100, IDTSVariable100, Boolean)

Called by the run-time engine. It is not called by tasks.

OnWarning(IDTSRuntimeObject100, Int32, String, String, String, Int32, String)

Called any time the task is in a state that does not justify an error, but does warrant alerting the client.

Applies to