IMaskingAsyncTask Class
Contents
[
Hide
]Summary: Represents the masking async task.
Module: aspose.imaging.masking
Full Name: aspose.imaging.masking.IMaskingAsyncTask
Inheritance: IAsyncTask
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| is_busy | bool | r | Gets a value indicating whether this task is currently running. |
| is_canceled | bool | r | Gets a value indicating whether this task was canceled. |
| is_faulted | bool | r | Gets a value indicating whether this task was faulted. |
Methods
| Name | Description |
|---|---|
| abort() | Aborts this task. The task is completed immediately, with the risk of not freeing internal unmanaged resources. |
| cancel() | Cancels this task. The task is completed safely by the controlled stopping of the algorithm. |
| get_error() | Returns an error of masking operation |
| get_masking_result() | Returns the result of masking operation |
| run_async() | Runs this task. |
| wait_on_done() | Waits until task is finished. |
Method: get_error()
get_error()
Returns an error of masking operation
Returns
| Type | Description |
|---|---|
| string | The task error. |
Method: get_masking_result()
get_masking_result()
Returns the result of masking operation
Returns
| Type | Description |
|---|---|
| MaskingResult | The result of this task. |