共用方式為


RequestLatencyTelemetryExtensions.UseRequestLatencyTelemetry 方法

定義

將要求延遲遙測中介軟體新增至 IApplicationBuilder 要求執行管線。

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRequestLatencyTelemetry (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder);
static member UseRequestLatencyTelemetry : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseRequestLatencyTelemetry (builder As IApplicationBuilder) As IApplicationBuilder

參數

傳回

IApplicationBuilder,以便鏈結其他呼叫。

例外狀況

buildernull

適用於