JoinableTaskContext.IsMainThreadBlocked Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the main thread is blocked for the caller's completion.
public:
bool IsMainThreadBlocked();
public:
bool IsMainThreadBlocked();
bool IsMainThreadBlocked();
public bool IsMainThreadBlocked ();
member this.IsMainThreadBlocked : unit -> bool
Public Function IsMainThreadBlocked () As Boolean
Returns
true
if the main thread is blocked, otherwise false
.