Partager via


NoMessagePumpSyncContext Class

Definition

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

public ref class NoMessagePumpSyncContext : System::Threading::SynchronizationContext
public class NoMessagePumpSyncContext : System.Threading.SynchronizationContext
type NoMessagePumpSyncContext = class
    inherit SynchronizationContext
Public Class NoMessagePumpSyncContext
Inherits SynchronizationContext
Inheritance
NoMessagePumpSyncContext

Constructors

NoMessagePumpSyncContext()

Initializes a new instance of the NoMessagePumpSyncContext class.

Properties

Default

Gets a shared instance of this class.

Methods

Wait(IntPtr[], Boolean, Int32)

Synchronously blocks without a message pump.

Applies to

Thread Safety

This type is thread-safe for all members.