Share via


IVsOperationProgress2 Interface

Definition

Expands IVsOperationProgress to enable stage access in a JoinableTaskFactory compatible way in order to avoid potential deadlocks when awaiting on operations in progress.

public interface class IVsOperationProgress2 : Microsoft::VisualStudio::OperationProgress::IVsOperationProgress
public interface IVsOperationProgress2 : Microsoft.VisualStudio.OperationProgress.IVsOperationProgress
type IVsOperationProgress2 = interface
    interface IVsOperationProgress
Public Interface IVsOperationProgress2
Implements IVsOperationProgress
Implements

Methods

AccessStage(String, String, UInt32)
Obsolete.

Obsolete. Please use RegisterStageOperationTasksAsync(String, String, UInt32, Func<IOperationProgressStageAccess,Task>) instead. Accesses a particular OperationProgressStage. When there are no more accesses to a particular stage, the stage is considered completed.

(Inherited from IVsOperationProgress)
RegisterStageId(String, OperationProgressStageOptions)

Registers a new stage based on the id passed in. If the id is already registered, this function is a no-op.

(Inherited from IVsOperationProgress)
RegisterStageOperationTasksAsync(String, String, UInt32, Func<IOperationProgressStageAccess,Task>)

Registers tasks to the operation progress using a taskRegistrationActionAsync. When all registered tasks and the task registration action are completed, the access to the stage is considered completed.

Applies to