JoinableTaskContext.RevertRelevance Structure

 

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

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

public struct RevertRelevance : IDisposable

NameDescription
System_CAPS_pubmethodDispose()

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

System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

This type is thread-safe for all members.

Return to top
Show: