Property | Type | Description | |
---|---|---|---|
DoStatefulExecution | void | ||
GetContext | VsTaskRunContext | ||
IProgressStepExecutionEvents | void | ||
IProgressStepOperation | Task |
||
Initialize | void |
Method | Description | |
---|---|---|
ProgressControllerStep ( IProgressController controller, |
Creates a step from definition
|
Method | Description | |
---|---|---|
ExecuteOperation ( CancellationToken cancellationToken, IProgressStepExecutionEvents progressCallback ) : void |
Executes the operation
|
|
OnExecutionStateChanged ( ) : void |
Invokes the StateChanged event based on the ExecutionState of the object
|
|
SetStepKind ( bool indeterminate ) : void |
Sets the whether Indeterminate and updates the inital Progress
|
|
UpdateProgress ( string progressDetailText, double progress ) : void |
Updates the progress with the specified values
|
Method | Description | |
---|---|---|
DoStatefulExecution ( IProgressStepExecutionEvents progressCallback, CancellationToken cancellationToken ) : void | ||
GetContext ( StepExecution execution ) : VsTaskRunContext |
Returns the VsTaskRunContext for StepExecution
|
|
IProgressStepExecutionEvents ( string progressDetailText, double progress ) : void | ||
IProgressStepOperation ( CancellationToken cancellationToken, IProgressStepExecutionEvents progressCallback ) : Task |
||
Initialize ( ) : void |
Initializes the step
|
protected ExecuteOperation ( CancellationToken cancellationToken, IProgressStepExecutionEvents progressCallback ) : void | ||
cancellationToken | CancellationToken | Cancellation token |
progressCallback | IProgressStepExecutionEvents | The callback instance to use when executing the operation |
return | void |
public ProgressControllerStep ( IProgressController controller, |
||
controller | IProgressController | The hosting |
definition | The |
|
return | Microsoft.VisualStudio |
protected SetStepKind ( bool indeterminate ) : void | ||
indeterminate | bool | Whether requested an indeterminate step |
return | void |
protected UpdateProgress ( string progressDetailText, double progress ) : void | ||
progressDetailText | string | Optional progress detail text |
progress | double | Progress in a range of 0.0 to 1.0 |
return | void |