JoinableTaskContextNode.IsMainThreadBlocked Method

Determines whether the main thread is blocked for the caller's completion.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public Function IsMainThreadBlocked As Boolean
public bool IsMainThreadBlocked()
public:
bool IsMainThreadBlocked()
member IsMainThreadBlocked : unit -> bool
public function IsMainThreadBlocked() : boolean

Return Value

Type: System.Boolean
true if the main thread is blocked, otherwise false.

.NET Framework Security

See Also

Reference

JoinableTaskContextNode Class

Microsoft.VisualStudio.Threading Namespace