Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HttpMetricsEndpointConventionBuilderExtensions.DisableHttpMetrics<TBuilder> Method
Definition
- Namespace:
- Microsoft.AspNetCore.Builder
- Assembly:
- Microsoft.AspNetCore.Http.Extensions.dll
- Package:
- Microsoft.AspNetCore.App.Ref v10.0.0
- Package:
- Microsoft.AspNetCore.App.Ref v11.0.0-preview.5.26302.115
- Package:
- Microsoft.AspNetCore.App.Ref v9.0.8
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies that HTTP request duration metrics is disabled for an endpoint.
public static TBuilder DisableHttpMetrics<TBuilder>(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member DisableHttpMetrics : 'Builder -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function DisableHttpMetrics(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder) As TBuilder
Type Parameters
- TBuilder
The type of endpoint convention builder.
Parameters
- builder
- TBuilder
The endpoint convention builder.
Returns
TBuilder
The original convention builder parameter.
Applies to
Feedback
Was this page helpful?
