Edit

Share via


BuildHttpClientBase.ResetCounterAsync Method

Definition

Overloads

ResetCounterAsync(Int32, Int32, Object, CancellationToken)

Resets the counter variable Value back to the Seed.

ResetCounterAsync(Guid, Int32, Int32, Object, CancellationToken)

Resets the counter variable Value back to the Seed.

ResetCounterAsync(String, Int32, Int32, Object, CancellationToken)

Resets the counter variable Value back to the Seed.

ResetCounterAsync(Int32, Int32, Object, CancellationToken)

Resets the counter variable Value back to the Seed.

public virtual System.Threading.Tasks.Task ResetCounterAsync (int definitionId, int counterId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ResetCounterAsync : int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ResetCounterAsync : int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

definitionId
Int32

The ID of the definition.

counterId
Int32

The ID of the counter.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

ResetCounterAsync(Guid, Int32, Int32, Object, CancellationToken)

Resets the counter variable Value back to the Seed.

public virtual System.Threading.Tasks.Task ResetCounterAsync (Guid project, int definitionId, int counterId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ResetCounterAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ResetCounterAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

definitionId
Int32

The ID of the definition.

counterId
Int32

The ID of the counter.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

ResetCounterAsync(String, Int32, Int32, Object, CancellationToken)

Resets the counter variable Value back to the Seed.

public virtual System.Threading.Tasks.Task ResetCounterAsync (string project, int definitionId, int counterId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ResetCounterAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ResetCounterAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
String

Project ID or project name

definitionId
Int32

The ID of the definition.

counterId
Int32

The ID of the counter.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to