Dispatcher.CheckAccess Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the calling thread is the thread associated with this Dispatcher.
Namespace: System.Windows.Threading
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Function CheckAccess As Boolean
public bool CheckAccess()
Return Value
Type: System..::.Boolean
true if the calling thread is the thread associated with this Dispatcher; otherwise, false.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone