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

适用于