NetworkProgressChangedEventArgs(Int32, Int32, Int32, Object) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
初始化 NetworkProgressChangedEventArgs 类的新实例。
public:
NetworkProgressChangedEventArgs(int percentage, int processedBytes, int totalBytes, System::Object ^ userState);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public NetworkProgressChangedEventArgs (int percentage, int processedBytes, int totalBytes, object userState);
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
new System.Net.NetworkProgressChangedEventArgs : int * int * int * obj -> System.Net.NetworkProgressChangedEventArgs
Public Sub New (percentage As Integer, processedBytes As Integer, totalBytes As Integer, userState As Object)
参数
- percentage
- Int32
已完成的异步任务的百分比。
- processedBytes
- Int32
已处理的字节数。
- totalBytes
- Int32
总字节数。
- userState
- Object
唯一的用户状态。
- 属性