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
- 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.