NoMessagePumpSyncContext Class

Definition

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

C++
public ref class NoMessagePumpSyncContext : System::Threading::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

Tuote Versiot
Visual Studio SDK 2015, 2017, 2019, 2022

Thread Safety

This type is thread-safe for all members.