ThreadHelper.CheckAccess Method ()

 

Determines whether the call is being made on the UI thread.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public static bool CheckAccess()

Return Value

Type: System.Boolean

Returns true if the call is on the UI thread, otherwise returns false.

Return to top
Show: