ThreadHelper.CheckAccess Method

Definition

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.

Applies to