SpecializedSyncContext Structure

 

A structure that applies and reverts changes to the SynchronizationContext.

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

public struct SpecializedSyncContext : IDisposable

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticApply(SynchronizationContext, Boolean)

Applies the specified SynchronizationContext to the caller's context.

System_CAPS_pubmethodDispose()

Reverts the SynchronizationContext to its previous instance.

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: