MainThread.IsMainThread 属性

定义

获取是否为当前main UI 线程。

public static bool IsMainThread { get; }

属性值

System.Boolean

如果main线程。

适用于