Udostępnij przez


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

'Deklaracja
Public Overridable Sub OnTaskFailed ( _
    taskHost As TaskHost _
)
public virtual void OnTaskFailed (
    TaskHost taskHost
)
public:
virtual void OnTaskFailed (
    TaskHost^ taskHost
)
public void OnTaskFailed (
    TaskHost taskHost
)
public function OnTaskFailed (
    taskHost : TaskHost
)

Parameters

  • taskHost
    The TaskHost object that failed.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.