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)

Syntax

Visual Basic
<SerializableAttribute> _
Public Class MessageLoopNotPresentedException _
	Inherits Exception
C#
[SerializableAttribute]
public class MessageLoopNotPresentedException : Exception

Remarks

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

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

See Also

Reference