NetworkProgressChangedEventArgs(Int32, Int32, Int32, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the NetworkProgressChangedEventArgs class.
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)
Parameters
- percentage
- Int32
The percentage of an asynchronous task that has been completed.
- processedBytes
- Int32
The number of processed bytes.
- totalBytes
- Int32
The total number of bytes.
- userState
- Object
A unique user state.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.