IDTSEvents.OnCustomEvent Method (TaskHost, String, String, Object[], String, Boolean)

 

Called by tasks to raise custom task-defined events.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

void OnCustomEvent(
	TaskHost taskHost,
	string eventName,
	string eventText,
	ref object[] arguments,
	string subComponent,
	ref bool fireAgain
)

Parameters

taskHost
Type: Microsoft.SqlServer.Dts.Runtime.TaskHost

The task that is hosting the current task.

eventName
Type: System.String

The name of the event.

eventText
Type: System.String

The text that describes the event.

arguments
Type: System.Object[]

An array of arguments to pass to the event.

subComponent
Type: System.String

A String that contains more detail about the event source.

fireAgain
Type: System.Boolean

A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

Return to top
Show: