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

MessageLoopNotPresentedException Class

The exception which arises when synchronization mode uses message loop, but no message loop is available.

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


Visual Basic
<SerializableAttribute> _
Public Class MessageLoopNotPresentedException _
	Inherits Exception
public class MessageLoopNotPresentedException : Exception


This exception can be thrown only in single situation: when you try to use asynchronous mode which uses message loop of the application main thread (SynchronizationMode property equals to AsyncViaMessageLoop), but message loop is not available (for example, you are writing a console application).

Inheritance Hierarchy

L System.Exception
L System.ApplicationException
L Aurigma.GraphicsMill.Exception
L Aurigma.GraphicsMill.MessageLoopNotPresentedException

See Also