Share via


PackageUpgradeResult.OnCustomEvent Method

Definition

Raises custom event for the PackageUpgradeResult.

public:
 virtual 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);
abstract member OnCustomEvent : Microsoft.SqlServer.Dts.Runtime.TaskHost * string * string * Object[] * string * bool -> unit
override this.OnCustomEvent : Microsoft.SqlServer.Dts.Runtime.TaskHost * string * string * Object[] * string * bool -> unit
Public Sub OnCustomEvent (taskHost As TaskHost, eventName As String, eventText As String, ByRef arguments As Object(), subComponent As String, ByRef fireAgain As Boolean)

Parameters

taskHost
TaskHost

The task that is hosting the current task.

eventName
String

The name of the event.

eventText
String

The text that describes the event.

arguments
Object[]

An array of arguments to pass to the event.

subComponent
String

A String that contains more detail about the event source.

fireAgain
Boolean

True if the object should continue firing; otherwise, false.

Implements

Applies to