Compartilhar via


Método OnTaskFailed

This event is raised by the task host when it fails.

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

Sintaxe

'Declaração
Public Overridable Sub OnTaskFailed ( _
    taskHost As TaskHost _
)
'Uso
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
)

Parâmetros

Implementa

IDTSEvents. . :: . .OnTaskFailed(TaskHost)