ILatencyContext.AddCheckpoint(CheckpointToken) Method

Definition

Adds a checkpoint to the context.

public:
 void AddCheckpoint(Microsoft::Extensions::Diagnostics::Latency::CheckpointToken token);
public void AddCheckpoint (Microsoft.Extensions.Diagnostics.Latency.CheckpointToken token);
abstract member AddCheckpoint : Microsoft.Extensions.Diagnostics.Latency.CheckpointToken -> unit
Public Sub AddCheckpoint (token As CheckpointToken)

Parameters

token
CheckpointToken

The checkpoint token.

Remarks

A checkpoint can be added only once per context. Use checkpoints for code that is non-reentrant per context.

Applies to