SynchronizationContext.SetThreadStaticContext(SynchronizationContext) Method

Definition

Warning

This API is now obsolete.

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);
static member SetThreadStaticContext : System.Threading.SynchronizationContext -> unit
Public Shared Sub SetThreadStaticContext (syncContext As SynchronizationContext)

Parameters

Attributes

Applies to