UiSynchronizationContext.Current 属性

定义

注意

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

属性值

返回 SynchronizationContext

当前线程的同步上下文。

属性

适用于