Freigeben über


MainThread.IsMainThread Eigenschaft

Definition

True, wenn der aktuelle Thread der UI-Thread ist.

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

Eigenschaftswert

Wenn Standard Thread.

Gilt für: