ProgressChangedEventArgs(Int32, Object) 构造函数

定义

初始化 ProgressChangedEventArgs 类的新实例。

public:
 ProgressChangedEventArgs(int progressPercentage, System::Object ^ userState);
public ProgressChangedEventArgs (int progressPercentage, object userState);
public ProgressChangedEventArgs (int progressPercentage, object? userState);
new System.ComponentModel.ProgressChangedEventArgs : int * obj -> System.ComponentModel.ProgressChangedEventArgs
Public Sub New (progressPercentage As Integer, userState As Object)

参数

progressPercentage
Int32

已完成的异步任务的百分比。

userState
Object

唯一的用户状态。

适用于

另请参阅