# UploadProgressEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (3.0.0.0)

Provides data for the [Progress](https://docs.wisej.com/api/v3.0/wisej.web/content/upload/..#progress) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public class UploadProgressEventArgs : EventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class UploadProgressEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)UploadProgressEventArgs(loaded, total)

Initializes a new instance of the [UploadProgressEventArgs](https://docs.wisej.com/api/v3.0/wisej.web/content/upload/wisej.web.uploadprogresseventargs) class with the specified error message.

| Name       | Type                                                              | Description                                                                                                      |
| ---------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| **loaded** | [Int64](https://docs.microsoft.com/en-us/dotnet/api/system.int64) | The number of bytes transferred. This doesn't include headers and other overhead, but only the content itself.   |
| **total**  | [Int64](https://docs.microsoft.com/en-us/dotnet/api/system.int64) | The total number of bytes of content that will be transferred. If the total size is unknown, this value is zero. |

## Properties

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Loaded

[Int64](https://docs.microsoft.com/en-us/dotnet/api/system.int64): The number of bytes transferred.

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Total

[Int64](https://docs.microsoft.com/en-us/dotnet/api/system.int64): The total number of bytes of content that will be transferred.

## Used By

| Name                                                                                                                        | Description                                                                                                                                                                                                        |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [UploadProgressEventHandler](https://docs.wisej.com/api/v3.0/wisej.web/content/upload/wisej.web.uploadprogresseventhandler) | Represents the method that will handle the [Prohress](https://docs.wisej.com/api/v3.0/wisej.web/content/upload/..#prohress) event of a [Upload](https://docs.wisej.com/api/v3.0/wisej.web/content/upload) control. |
