Condividi tramite


JoinableTaskContext.IsMainThreadBlocked Method

Definition

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.

Applies to