LifecycleSubject.PerfMeasureOnStop(Int32, TimeSpan) 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.
Logs the observed performance of an OnStop(CancellationToken) call.
protected virtual void PerfMeasureOnStop (int stage, TimeSpan elapsed);
abstract member PerfMeasureOnStop : int * TimeSpan -> unit
override this.PerfMeasureOnStop : int * TimeSpan -> unit
Protected Overridable Sub PerfMeasureOnStop (stage As Integer, elapsed As TimeSpan)
Parameters
- stage
- Int32
The stage.
- elapsed
- TimeSpan
The period of time which elapsed before OnStop(CancellationToken) completed once it was initiated.