IVsTaskProgressService.CreateTaskCollectionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a task collection with the given TaskProgressCollectionOptions.
public:
System::Threading::Tasks::Task<Microsoft::VisualStudio::TaskStatusCenter::IVsTaskProgressCollection ^> ^ CreateTaskCollectionAsync(Microsoft::VisualStudio::TaskStatusCenter::TaskProgressCollectionOptions ^ options, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.TaskStatusCenter.IVsTaskProgressCollection> CreateTaskCollectionAsync (Microsoft.VisualStudio.TaskStatusCenter.TaskProgressCollectionOptions options, System.Threading.CancellationToken cancellationToken);
abstract member CreateTaskCollectionAsync : Microsoft.VisualStudio.TaskStatusCenter.TaskProgressCollectionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.TaskStatusCenter.IVsTaskProgressCollection>
Public Function CreateTaskCollectionAsync (options As TaskProgressCollectionOptions, cancellationToken As CancellationToken) As Task(Of IVsTaskProgressCollection)
Parameters
- options
- TaskProgressCollectionOptions
The options for the task collection.
- cancellationToken
- CancellationToken
A cancellation token.
Returns
The task collection.