SynchronizationContext.SetThreadStaticContext(SynchronizationContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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)
Parameters
- syncContext
- SynchronizationContext
- Attributes