Partager via


JoinableTaskCollection.Join Method

Shares any access to the main thread that may be held by the caller with all joinable tasks in this collection until the returned value is disposed. 

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

Syntax

'Declaration
Public Function Join As JoinableTaskCollection.JoinRelease
public JoinableTaskCollection.JoinRelease Join()
public:
JoinableTaskCollection::JoinRelease Join()
member Join : unit -> JoinableTaskCollection.JoinRelease
public function Join() : JoinableTaskCollection.JoinRelease

Return Value

Type: Microsoft.VisualStudio.Threading.JoinableTaskCollection.JoinRelease
Returns JoinableTaskCollection.JoinRelease.

.NET Framework Security

See Also

Reference

JoinableTaskCollection Class

Microsoft.VisualStudio.Threading Namespace