Sdílet prostřednictvím


NetworkProgressChangedEventArgs(Int32, Int32, Int32, Object) Konstruktor

Definice

Upozornění

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Inicializuje novou instanci NetworkProgressChangedEventArgs třídy .

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)

Parametry

percentage
Int32

Procento asynchronní úlohy, která byla dokončena.

processedBytes
Int32

Počet zpracovaných bajtů.

totalBytes
Int32

Celkový počet bajtů

userState
Object

Jedinečný stav uživatele.

Atributy

Platí pro