SynchronizationContext.SetThreadStaticContext(SynchronizationContext) 方法
定义
注意
The method is not supported and will be removed
public:
static void SetThreadStaticContext(System::Threading::SynchronizationContext ^ syncContext);
[System.Obsolete("The method is not supported and will be removed")]
public static void SetThreadStaticContext (System.Threading.SynchronizationContext syncContext);
[<System.Obsolete("The method is not supported and will be removed")>]
static member SetThreadStaticContext : System.Threading.SynchronizationContext -> unit
Public Shared Sub SetThreadStaticContext (syncContext As SynchronizationContext)
参数
- syncContext
- SynchronizationContext
- 属性