次の方法で共有


IVsTaskProgressService.CreateTaskCollectionAsync Method

Definition

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.

Applies to