JoinableTaskContext.RevertRelevance Struct
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.
A structure that clears CallContext and SynchronizationContext async/thread statics and restores those values when this structure is disposed.
public: value class JoinableTaskContext::RevertRelevance : IDisposable
public struct JoinableTaskContext.RevertRelevance : IDisposable
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct JoinableTaskContext.RevertRelevance : IDisposable
type JoinableTaskContext.RevertRelevance = struct
interface IDisposable
[<System.Runtime.CompilerServices.IsReadOnly>]
type JoinableTaskContext.RevertRelevance = struct
interface IDisposable
Public Structure JoinableTaskContext.RevertRelevance
Implements IDisposable
- Inheritance
-
JoinableTaskContext.RevertRelevance
- Attributes
- Implements
Methods
Dispose() |
Reverts the async local and thread static values to their original values. |
Applies to
Thread Safety
This type is thread-safe for all members.