# UploadProgressEventArgs

Namespace: **Wisej.Web**

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

Provides data for the [Progress](https://docs.wisej.com/api/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://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) UploadProgressEventArgs(loaded, total)

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

| Name       | Type                                                        | Description                                                                                                      |
| ---------- | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| **loaded** | [Int64](https://docs.microsoft.com/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/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://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Loaded

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

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

[Int64](https://docs.microsoft.com/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/wisej.web/content/upload/wisej.web.uploadprogresseventhandler) | Represents the method that will handle the [Progress](https://docs.wisej.com/api/wisej.web/content/upload/..#progress) event of a [Upload](https://docs.wisej.com/api/wisej.web/content/upload) control. |
