Share via


Dispatcher.CheckAccess Method

Determines whether the calling thread has access to the current Dispatcher object (dispatcher).

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

Syntax

public bool CheckAccess ()

Return Value

true if the calling thread has access to the current dispatcher; otherwise, false.

Remarks

Only the thread on which the dispatcher was created can access the dispatcher.

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 Class
Dispatcher Members
Microsoft.SPOT Namespace