UiSynchronizationContext.Current 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
获取当前线程的同步上下文。
public:
static property System::Threading::SynchronizationContext ^ Current { System::Threading::SynchronizationContext ^ get(); void set(System::Threading::SynchronizationContext ^ value); };
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public static System.Threading.SynchronizationContext Current { get; set; }
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
static member Current : System.Threading.SynchronizationContext with get, set
Public Shared Property Current As SynchronizationContext
属性值
当前线程的同步上下文。
- 属性