IResultStore.DeleteResultsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes ScenarioRunResults for ScenarioRuns filtered by the specified
executionName
, scenarioName
, and iterationName
from
the store.
public System.Threading.Tasks.ValueTask DeleteResultsAsync (string? executionName = default, string? scenarioName = default, string? iterationName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteResultsAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Function DeleteResultsAsync (Optional executionName As String = Nothing, Optional scenarioName As String = Nothing, Optional iterationName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ValueTask
Parameters
- executionName
- String
The ExecutionName by which the ScenarioRunResults should be filtered. If omitted, all ExecutionNames are considered.
- scenarioName
- String
The ScenarioName by which the ScenarioRunResults should be filtered.
If omitted, all ScenarioNames that are in scope based on the specified
executionName
filter are considered.
- iterationName
- String
The IterationName by which the ScenarioRunResults should be filtered.
If omitted, all IterationNames that are in scope based on the specified
executionName
, and scenarioName
filters are considered.
- cancellationToken
- CancellationToken
A CancellationToken that can cancel the operation.
Returns
Remarks
Deletes all ScenarioRunResults in the store if executionName
, scenarioName
, and iterationName
are all omitted.