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);
C#
[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
唯一的使用者狀態。
- 屬性
產品 | 版本 (已過時) |
---|---|
.NET Framework | (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |