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

SyncHandler Members

The SyncHandler type exposes the following members.

Methods

Name Description
Public method {dtor}

Enables using delete operator in C++ applications. It is strongly not recommended to use it directly.

Public method Abort

Aborts current operation.

Public method Continue

Resumes execution of the operation previously paused with Pause() method.

Public method Dispose

Releases all resources used by this SyncHandler.

Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Lock

Locks the object.

Protected method MemberwiseClone (Inherited from Object.)
Public method Pause

Pauses execution of the current operation.

Public method ToString (Inherited from Object.)
Public method Unlock

Unlocks the object previously locked with method Lock().

Public method WaitForCompletion

Suspends the calling thread until the operation currently run is completed.

Properties

Name Description
Public property Completed

Returns value indicating if the operation is currently running.

Public property ExceptionThrowEnabled

Gets/sets value that specifies if to throw exception in synchronous mode.

Public property Locked

Indicates if the object has been locked.

Public property Priority

Gets/sets a priority for the auxilary thread.

Public property SynchronizationMode

Gets/sets synchronization mode for the object.

Public property Timeout

Gets/sets value specifying maximum time for which object can be locked.

Events

Name Description
Public event Aborted

Fires when operation has been aborted.

Public event Continued

Fires when operation has been resumed with Continue() method.

Public event Paused

Fires when operation has been paused with Pause() method.

Protected event Progress

Fires on the operation progress notifications.

Public event Started

Fires after operation has been started.

Public event Starting

Fires before operation is started.

Public event Stopped

Fires after operation has been stopped.

Public event Stopping

Fires before operation is stopped.

See Also

Reference