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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.