ICounterStore.Increment(IPipelineContext, String, Int32) 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.
Increments the counter with the given prefix. If no such counter exists, a new one will be created with
seed as the initial value.
public int Increment(Microsoft.TeamFoundation.DistributedTask.Pipelines.IPipelineContext context, string prefix, int seed);
abstract member Increment : Microsoft.TeamFoundation.DistributedTask.Pipelines.IPipelineContext * string * int -> int
Public Function Increment (context As IPipelineContext, prefix As String, seed As Integer) As Integer
Parameters
- context
- IPipelineContext
- prefix
- String
The counter prefix
- seed
- Int32
The initial value for the counter if the counter does not exist
Returns
The incremented value