ILatencyContext.AddCheckpoint(CheckpointToken) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.