LifecycleSubject.PerfMeasureOnStart(Int32, TimeSpan) 方法

定义

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

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)

参数

stage
Int32

阶段。

elapsed
TimeSpan

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

适用于