语言

IDTSComponentEvents100.FireProgress 方法

定义

当可执行文件取得可测量进展时触发事件。

public:
 void FireProgress(System::String ^ ProgressDescription, int PercentComplete, int ProgressCountLow, int ProgressCountHigh, System::String ^ SubComponent, [Runtime::InteropServices::Out] bool % pbFireAgain);
[System.Runtime.InteropServices.DispId(5)]
public void FireProgress(string ProgressDescription, int PercentComplete, int ProgressCountLow, int ProgressCountHigh, string SubComponent, out bool pbFireAgain);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member 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 pbFireAgain As Boolean)

参数

ProgressDescription
String

一个描述被触发进度事件的字符串。

PercentComplete
Int32

一个整数用于表示任务已完成的部分。

ProgressCountLow
Int32

一个包含完成单位中最低32位的整数。

ProgressCountHigh
Int32

一个包含完成单位高32位的整数。

SubComponent
String

包含事件源更多细节的字符串。

pbFireAgain
Boolean

当该方法返回时,包含一个布尔值,指示该方法应继续发射或停止发射。 值为真则表示应继续发射。 值为false表示应停止发射。 此参数未初始化传递。

属性

适用于