DefaultEvents.OnTaskFailed Method
This event is raised by the task host when it fails.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Overridable Sub OnTaskFailed ( _
taskHost As TaskHost _
)
'Usage
Dim instance As DefaultEvents
Dim taskHost As TaskHost
instance.OnTaskFailed(taskHost)
public virtual void OnTaskFailed(
TaskHost taskHost
)
public:
virtual void OnTaskFailed(
TaskHost^ taskHost
)
abstract OnTaskFailed :
taskHost:TaskHost -> unit
override OnTaskFailed :
taskHost:TaskHost -> unit
public function OnTaskFailed(
taskHost : TaskHost
)
Parameters
- taskHost
Type: Microsoft.SqlServer.Dts.Runtime.TaskHost
The TaskHost object that failed.
Implements
See Also