Returns the first created Dispatcher instance, in most cases this will be the Dispatcher for the main thread. When no instance has been created an exception will be thrown.

Namespace: UnityThreading
Assembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static Dispatcher Main { get; }
Visual Basic
Public Shared ReadOnly Property Main As Dispatcher
	Get
Visual C++
public:
static property Dispatcher^ Main {
	Dispatcher^ get ();
}

See Also