RequestLatencyTelemetryExtensions.UseRequestLatencyTelemetry 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將要求延遲遙測中介軟體新增至 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
參數
- builder
- IApplicationBuilder
傳回
IApplicationBuilder,以便鏈結其他呼叫。
例外狀況
builder
為 null
。