JoinableTaskContext.RevertRelevance Struct

Definition

A structure that clears CallContext and SynchronizationContext async/thread statics and restores those values when this structure is disposed.

C++
public: value class JoinableTaskContext::RevertRelevance : IDisposable
Inheritance
JoinableTaskContext.RevertRelevance
Attributes
Implements

Methods

Dispose()

Reverts the async local and thread static values to their original values.

Applies to

Tuote Versiot
Visual Studio SDK 2015, 2017, 2019, 2022

Thread Safety

This type is thread-safe for all members.