Interface IAsyncTaskState
Interface IAsyncTaskState
Namespace: Aspose.Imaging.AsyncTask
Assembly: Aspose.Imaging.dll (25.2.0)
Provides access to the state of the asynchronous task.
public interface IAsyncTaskState
Properties
IsCanceled
Gets a value indicating whether the asynchronous task is canceled.
bool IsCanceled { get; }
Property Value
Progress
Gets the progress of the asynchronous task.
EventType Progress { get; }
Property Value
Methods
IncrementProgressMaxValue(int)
Increments the progress maximum value.
void IncrementProgressMaxValue(int value)
Parameters
value
int
The increase value.
IndicateProgress(EventType)
Sets the progress of the asynchronous task.
void IndicateProgress(EventType eventType)
Parameters
eventType
EventType
The progress state.