Share via


EventsObjectWrapper.FireProgress 方法

定义

在可执行文件的进度可度量时引发事件。

public:
 void FireProgress(System::String ^ progressDescription, int percentComplete, int progressCountLow, int progressCountHigh, System::String ^ subComponent, bool % fireAgain);
public void FireProgress (string progressDescription, int percentComplete, int progressCountLow, int progressCountHigh, string subComponent, ref bool fireAgain);
member this.FireProgress : string * int * int * int * string * bool -> unit
Public Sub FireProgress (progressDescription As String, percentComplete As Integer, progressCountLow As Integer, progressCountHigh As Integer, subComponent As String, ByRef fireAgain As Boolean)

参数

progressDescription
String

说明所引发的进度事件。

percentComplete
Int32

一个整数,用于指示任务的完成程度。

progressCountLow
Int32

一个整数,包含已完成的单位的低 32 位。

progressCountHigh
Int32

包含已完成单元的高 32 位的整数。

subComponent
String

包含有关事件源的详细信息。

fireAgain
Boolean

如果继续触发,则为 True;否则为 false。

适用于