Compartilhar via


JoinableTaskFactory.UnderlyingSynchronizationContext Property

Gets the underlying SynchronizationContext that controls the main thread in the host.

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

Syntax

'Declaration
Protected ReadOnly Property UnderlyingSynchronizationContext As SynchronizationContext
protected SynchronizationContext UnderlyingSynchronizationContext { get; }
protected:
property SynchronizationContext^ UnderlyingSynchronizationContext {
    SynchronizationContext^ get ();
}
member UnderlyingSynchronizationContext : SynchronizationContext with get
function get UnderlyingSynchronizationContext () : SynchronizationContext

Property Value

Type: System.Threading.SynchronizationContext
Returns SynchronizationContext.

.NET Framework Security

See Also

Reference

JoinableTaskFactory Class

Microsoft.VisualStudio.Threading Namespace