Edit

Share via


LifecycleSubject.PerfMeasureOnStop(Int32, TimeSpan) Method

Definition

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.

Applies to