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