Dela via


DisableHttpMetricsAttribute Class

Definition

Specifies that HTTP request duration metrics is disabled for an endpoint.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method)]
public sealed class DisableHttpMetricsAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.IDisableHttpMetricsMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method)>]
type DisableHttpMetricsAttribute = class
    inherit Attribute
    interface IDisableHttpMetricsMetadata
Public NotInheritable Class DisableHttpMetricsAttribute
Inherits Attribute
Implements IDisableHttpMetricsMetadata
Inheritance
DisableHttpMetricsAttribute
Attributes
Implements

Constructors

DisableHttpMetricsAttribute()

Methods

ToString() System.Attribute.ToString

Applies to