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

Definition

Called by tasks to raise custom task-defined events.

public:
 void OnCustomEvent(Microsoft::SqlServer::Dts::Runtime::TaskHost ^ taskHost, System::String ^ eventName, System::String ^ eventText, cli::array <System::Object ^> ^ % arguments, System::String ^ subComponent, bool % fireAgain);
public void OnCustomEvent (Microsoft.SqlServer.Dts.Runtime.TaskHost taskHost, string eventName, string eventText, ref object[] arguments, string subComponent, ref bool fireAgain);

Parameters

taskHost
TaskHost TaskHost

The task that is hosting the current task.

eventName
String String

The name of the event.

eventText
String String

The text that describes the event.

arguments

An array of arguments to pass to the event.

subComponent
String String

A String that contains more detail about the event source.

fireAgain

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

Applies to