VsTaskLibraryHelper::IsUIThreadContext Method (VsTaskRunContext)

 

Determines whether the specified context represents UI thread work.

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

public:
[ExtensionAttribute]
static bool IsUIThreadContext(
	VsTaskRunContext context
)

Parameters

context
Type: Microsoft.VisualStudio.Shell::VsTaskRunContext

The context.

Return Value

Type: System::Boolean

true if the context represents work on the UI thread.

Return to top
Show: