Skip to main content

DispatcherObject Class

Namespace: GHIElectronics.TinyCLR.UI.Threading · Assembly: GHIElectronics.TinyCLR.UI

A DispatcherObject is an object associated with a Dispatcher. A DispatcherObject instance should only be access by the dispatcher's thread.

public abstract class DispatcherObject

Constructors

DispatcherObject()

protected DispatcherObject()

Instantiate this object associated with the current Dispatcher.

Methods

CheckAccess()

public bool CheckAccess()

Checks that the calling thread has access to this object.

Returns bool — True if the calling thread has access to this object.

VerifyAccess()

public void VerifyAccess()

Verifies that the calling thread has access to this object.

Fields

Dispatcher

public readonly Dispatcher Dispatcher

The Dispatcher that this DispatcherObject is associated with.