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
参数
返回
IApplicationBuilder,以便可以链接其他调用。
例外
builder
为 null
。