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

提供异步任务的进度信息。
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [AsyncTaskProgress(int progressPercentage, long duration)](#AsyncTaskProgress-int-long-) | 初始化 [AsyncTaskProgress](../../com.aspose.imaging.asynctask/asynctaskprogress) 类的新实例。 |
## 字段

| 字段 | 描述 |
| --- | --- |
| [Duration](#Duration) | 异步任务的持续时间。 |
| [ProgressPercentage](#ProgressPercentage) | 异步任务的进度（百分比）。 |
### AsyncTaskProgress(int progressPercentage, long duration) {#AsyncTaskProgress-int-long-}
```
public AsyncTaskProgress(int progressPercentage, long duration)
```


初始化 [AsyncTaskProgress](../../com.aspose.imaging.asynctask/asynctaskprogress) 类的新实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| progressPercentage | int | 进度百分比。 |
| 持续时间 | long | 持续时间。 |

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


异步任务的持续时间。

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


异步任务的进度（百分比）。

