NoMessagePumpSyncContext Class

 

A SynchronizationContext whose synchronously-blocking Wait method does not allow any re-entrancy via the message pump.

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

System.Object
  System.Threading.SynchronizationContext
    Microsoft.VisualStudio.Threading.NoMessagePumpSyncContext

public class NoMessagePumpSyncContext : SynchronizationContext

NameDescription
System_CAPS_pubmethodNoMessagePumpSyncContext()

Initializes a new instance of NoMessagePumpSyncContext.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticDefault

Gets a shared instance of this class.

NameDescription
System_CAPS_pubmethodApply(Boolean)

Applies the specified SynchronizationContext to the caller's context.(Defined by ThreadingTools.)

This type is thread-safe for all members.

Return to top
Show: