JoinableTaskContext.NoMessagePumpSynchronizationContext Property

Definition

Gets a SynchronizationContext which, when applied, suppresses any message pump that may run during synchronous blocks of the calling thread.

protected public:
 virtual property System::Threading::SynchronizationContext ^ NoMessagePumpSynchronizationContext { System::Threading::SynchronizationContext ^ get(); };
protected internal virtual System.Threading.SynchronizationContext NoMessagePumpSynchronizationContext { get; }
member this.NoMessagePumpSynchronizationContext : System.Threading.SynchronizationContext
Protected Friend Overridable ReadOnly Property NoMessagePumpSynchronizationContext As SynchronizationContext

Property Value

Remarks

The default implementation of this property is effective in builds of this assembly that target the .NET Framework. But on builds that target the portable profile, it should be overridden to provide an effective platform-specific solution.

Applies to