OnTaskFailed 方法
This event is raised by the task host when it fails.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Overridable Sub OnTaskFailed ( _
taskHost As TaskHost _
)
'用途
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
)
參數
- taskHost
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .TaskHost
The TaskHost object that failed.