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
- 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.