Compartilhar via


MainThread.IsMainThread Propriedade

Definição

True se o thread atual for o thread da interface do usuário.

public:
 static property bool IsMainThread { bool get(); };
public static bool IsMainThread { get; }
static member IsMainThread : bool
Public Shared ReadOnly Property IsMainThread As Boolean

Valor da propriedade

Se main thread.

Aplica-se a