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)
'Declaration
Public Function IsMainThreadBlocked As Boolean
public bool IsMainThreadBlocked()
public:
bool IsMainThreadBlocked()
member IsMainThreadBlocked : unit -> bool
public function IsMainThreadBlocked() : boolean
Type: System.Boolean
true if the main thread is blocked, otherwise false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.