DefaultEvents.OnProgress メソッド

定義

この方法は、タスクが測定可能な進展を経験したときにいつでも「いろいろ」と呼ばれます。

public:
 virtual void OnProgress(Microsoft::SqlServer::Dts::Runtime::TaskHost ^ taskHost, System::String ^ progressDescription, int percentComplete, int progressCountLow, int progressCountHigh, System::String ^ subComponent, bool % fireAgain);
public virtual void OnProgress(Microsoft.SqlServer.Dts.Runtime.TaskHost taskHost, string progressDescription, int percentComplete, int progressCountLow, int progressCountHigh, string subComponent, ref bool fireAgain);
abstract member OnProgress : Microsoft.SqlServer.Dts.Runtime.TaskHost * string * int * int * int * string * bool -> unit
override this.OnProgress : Microsoft.SqlServer.Dts.Runtime.TaskHost * string * int * int * int * string * bool -> unit
Public Overridable Sub OnProgress (taskHost As TaskHost, progressDescription As String, percentComplete As Integer, progressCountLow As Integer, progressCountHigh As Integer, subComponent As String, ByRef fireAgain As Boolean)

パラメーター

taskHost
TaskHost

null 値。

progressDescription
String

発生したイベントの進行状況を表す文字列です。

percentComplete
Int32

整数はタスクの完了量を示します。

progressCountLow
Int32

完成した単位の下位32ビットを含む整数です。

progressCountHigh
Int32

完成した単位の上位32ビットを含む整数。

subComponent
String

イベントソースの詳細を含む文字列です。

fireAgain
Boolean

この動作が発射を続けるか停止すべきかを示すブール値です。 真の値は、発射を続けるべきであることを示します。

実装

注釈

各タスクには独自の要件がありますが、一般的にタスクは1パーセントの段階で進捗を報告します。 OnProgress タスクは、特定のタスクの進捗をリスニングクライアントに報告するために、あらかじめ決められた間隔で呼び出されます。

適用対象