IAsyncContext Interface

KGy SOFT Drawing Libraries Help
Represents the context of a possibly asynchronous drawing operation.

Namespace:  KGySoft.Drawing
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.3.0
Syntax

public interface IAsyncContext

The IAsyncContext type exposes the following members.

Properties

  NameDescription
Public propertyCanBeCanceled
Gets whether this operation can be canceled.
Public propertyIsCancellationRequested
Gets whether the cancellation of the current operation has been requested.
Public propertyMaxDegreeOfParallelism
Gets the maximum degree of parallelism. If zero or less, then it is adjusted automatically.
Public propertyProgress
Gets an IDrawingProgress instance that can be used to report progress, or  if no progress reporter belongs to the current operation.
Top
Methods

  NameDescription
Public methodThrowIfCancellationRequested
Throws an OperationCanceledException if IsCancellationRequested returns .
Top
See Also

Reference