Dispatcher.CheckAccess Method

May 11, 2014

Determines whether the calling thread is the thread associated with this Dispatcher.

Namespace:  System.Windows.Threading
Assembly:  System.Windows (in System.Windows.dll)

public bool CheckAccess()

Return Value

Type: System.Boolean
true if the calling thread is the thread associated with this Dispatcher; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft