Compartir a través de


JoinableTaskContext Constructor

Initializes a new instance of the JoinableTaskContext.

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

Syntax

'Declaration
Public Sub New ( _
    mainThread As Thread, _
    synchronizationContext As SynchronizationContext _
)
public JoinableTaskContext(
    Thread mainThread,
    SynchronizationContext synchronizationContext
)
public:
JoinableTaskContext(
    Thread^ mainThread, 
    SynchronizationContext^ synchronizationContext
)
new : 
        mainThread:Thread * 
        synchronizationContext:SynchronizationContext -> JoinableTaskContext
public function JoinableTaskContext(
    mainThread : Thread, 
    synchronizationContext : SynchronizationContext
)

Parameters

.NET Framework Security

See Also

Reference

JoinableTaskContext Class

Microsoft.VisualStudio.Threading Namespace