Table of Contents

Interface IAsyncTaskState

Namespace
Aspose.Imaging.AsyncTask
Assembly
Aspose.Imaging.dll

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

bool

true if the asynchronous task is canceled; otherwise, false.

Progress

Gets the progress of the asynchronous task.

EventType Progress { get; }

Property Value

EventType

The progress of the asynchronous task.

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.