IFileContextActionBase.ExecuteAsync Method

Definition

Executes the action.

C++
public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::IFileContextActionResult ^> ^ ExecuteAsync(IProgress<Microsoft::VisualStudio::Workspace::IFileContextActionProgressUpdate ^> ^ progress, System::Threading::CancellationToken cancellationToken);

Parameters

progress
IProgress<IFileContextActionProgressUpdate>

A means to report progress as the action executes.

cancellationToken
CancellationToken

A token that may cancel the action.

Returns

A task whose result describes the result of the action.

Applies to

Proizvod Verzije
Visual Studio SDK 2017, 2019, 2022