**Inheritance:**
java.lang.Object
```
public class AsyncTaskProgress
```

Provides progress info for the asynchronous task.
## Constructors

| Constructor | Description |
| --- | --- |
| [AsyncTaskProgress(int progressPercentage, long duration)](#AsyncTaskProgress-int-long-) | Initializes a new instance of the [AsyncTaskProgress](../../com.aspose.imaging.asynctask/asynctaskprogress) class. |
## Fields

| Field | Description |
| --- | --- |
| [Duration](#Duration) | The duration of the asynchronous task. |
| [ProgressPercentage](#ProgressPercentage) | The progress of the asynchronous task, in percent. |
### AsyncTaskProgress(int progressPercentage, long duration) {#AsyncTaskProgress-int-long-}
```
public AsyncTaskProgress(int progressPercentage, long duration)
```


Initializes a new instance of the [AsyncTaskProgress](../../com.aspose.imaging.asynctask/asynctaskprogress) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| progressPercentage | int | The progress percentage. |
| duration | long | The duration. |

### Duration {#Duration}
```
public final System.TimeSpan Duration
```


The duration of the asynchronous task.

### ProgressPercentage {#ProgressPercentage}
```
public final int ProgressPercentage
```


The progress of the asynchronous task, in percent.

