ThreadHelper.CheckAccess Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the call is being made on the UI thread.
public:
static bool CheckAccess();
public:
static bool CheckAccess();
static bool CheckAccess();
public static bool CheckAccess ();
static member CheckAccess : unit -> bool
Public Shared Function CheckAccess () As Boolean
Returns
true if the call is on the UI thread.