ScriptObject.CheckAccess Method
Silverlight
Determines whether the current thread is the browser's UI thread.
Namespace: System.Windows.Browser
Assembly: System.Windows.Browser (in System.Windows.Browser.dll)
Return Value
Type: System.Booleantrue if the current thread is the browser's UI thread; false if it is a background thread.
If the current thread is not the browser's UI thread, but is instead a background thread, only the Dispatcher property and the CheckAccess method of the ScriptObject can be safely accessed.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.