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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.