IMaskingAsyncTask Class

Summary: Represents the masking async task.

Module: aspose.imaging.masking

Full Name: aspose.imaging.masking.IMaskingAsyncTask

Inheritance: IAsyncTask

Aspose.Imaging Version: 24.5.0

Properties

NameTypeAccessDescription
is_busyboolrGets a value indicating whether this task is currently running.
is_canceledboolrGets a value indicating whether this task was canceled.
is_faultedboolrGets a value indicating whether this task was faulted.

Methods

NameDescription
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

TypeDescription
stringThe task error.

Method: get_masking_result()

 get_masking_result() 

Returns the result of masking operation

Returns

TypeDescription
MaskingResultThe result of this task.