共用方式為


SpecializedSyncContext.Dispose Method

Reverts the SynchronizationContext to its previous instance.

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

Syntax

'Declaration
Public Sub Dispose
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit  
override Dispose : unit -> unit
public final function Dispose()

Implements

IDisposable.Dispose()

.NET Framework Security

See Also

Reference

SpecializedSyncContext Structure

Microsoft.VisualStudio.Threading Namespace