JoinableTaskContext.CreateCollection Method
Creates a collection for in-flight joinable tasks.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Function CreateCollection As JoinableTaskCollection
public JoinableTaskCollection CreateCollection()
public:
JoinableTaskCollection^ CreateCollection()
member CreateCollection : unit -> JoinableTaskCollection
public function CreateCollection() : JoinableTaskCollection
Return Value
Type: Microsoft.VisualStudio.Threading.JoinableTaskCollection
A new JoinableTaskCollection.
.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.