LifecycleSubject.PerfMeasureOnStop(Int32, TimeSpan) 方法

定义

记录观察到的 OnStop(CancellationToken) 调用性能。

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)

参数

stage
Int32

阶段。

elapsed
TimeSpan

启动前所经过 OnStop(CancellationToken) 的时间段。

适用于