Share via


Dispatcher Class

Provides services for maintaining the event queue for a thread.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public sealed class Dispatcher

Remarks

This class cannot be inherited.

When a Dispatcher object (a dispatcher) is created on a thread, it becomes the only dispatcher that can be associated with that thread, even if the program shuts down the Dispatcher object. If your program shuts down a Dispatcher object, that dispatcher cannot be restarted. If your program calls the BeginInvoke and BeginInvoke methods on a Dispatcher object that has been shut down, an exception is thrown.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Dispatcher Members
Microsoft.SPOT Namespace