Determines whether the calling thread has access to this object.
Namespace:
System.Windows
Assembly:
System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
Public Function CheckAccess As Boolean
Dim instance As DependencyObject
Dim returnValue As Boolean
returnValue = instance.CheckAccess()
public bool CheckAccess()
Return Value
Type:
System..::.Boolean
true if the calling thread has access to this object; otherwise, false.
This method is public, so any thread can check to see if it has access to this object.
If the thread has access then it can retrieve the Dispatcher.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference