Поделиться через


NetworkProgressChangedEventArgs(Int32, Int32, Int32, Object) Конструктор

Определение

Внимание!

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

Уникальное пользовательское состояние.

Атрибуты

Применяется к