BuildFileContextActionWrapper Class

Definition

Implements IFileContextAction with the option to send a build message when the execution is cancelled

public ref class BuildFileContextActionWrapper sealed : Microsoft::VisualStudio::Workspace::IFileContextAction
public ref class BuildFileContextActionWrapper sealed : Microsoft::VisualStudio::Workspace::IFileContextAction
class BuildFileContextActionWrapper sealed : Microsoft::VisualStudio::Workspace::IFileContextAction
public sealed class BuildFileContextActionWrapper : Microsoft.VisualStudio.Workspace.IFileContextAction
type BuildFileContextActionWrapper = class
    interface IFileContextAction
    interface IFileContextActionBase
Public NotInheritable Class BuildFileContextActionWrapper
Implements IFileContextAction
Inheritance
BuildFileContextActionWrapper
Implements

Constructors

BuildFileContextActionWrapper(IFileContextAction, IBuildMessageService, String)

Initializes a new instance of the BuildFileContextActionWrapper class.

Properties

DisplayName

Gets the name of this action as it should be presented to the user.

Source

File Context source of this Action

Methods

ExecuteAsync(IProgress<IFileContextActionProgressUpdate>, CancellationToken)

Executes the action.

ExecuteWithTaskCanceledExceptionAsync(Func<Task<IFileContextActionResult>>, IBuildMessageService, String)

Execute a callback and report a task cancelled exception

Applies to