This documentation is for the old version. Go to the latest Graphics Mill docs

SyncHandler Class

This is a base class for all the codecs, transforms, as well as any other operations which can be run asynchronously. It contains partial implementation for ISyncHandler interface.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Class SyncHandler _
	Implements ISyncHandler
C#
public class SyncHandler : ISyncHandler

Remarks

Main aim of this class is to provide access to operation execution. Using Abort() method you can cancel the operation execution. Pause() and Continue() methods are used to suspend/resume the operation.

This class provides asynchronous modes support. It is specified with SynchronizationMode. For synchronization of some thread with the operation completion, you can use WaitForCompletion() method.

A number of events can be used to provide control of the operation execution:

This class also provides an implementation for ILockable interface, so you can use object locking functionality.

Inheritance Hierarchy

Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.

See Also

Reference