Partajați prin


HistogramAttribute Constructors

Definition

Overloads

HistogramAttribute(String[])

Initializes a new instance of the HistogramAttribute class.

HistogramAttribute(Type)

Initializes a new instance of the HistogramAttribute class.

HistogramAttribute(String[])

Source:
HistogramAttribute.cs
Source:
HistogramAttribute.cs

Initializes a new instance of the HistogramAttribute class.

public:
 HistogramAttribute(... cli::array <System::String ^> ^ tagNames);
public HistogramAttribute (params string[] tagNames);
new Microsoft.Extensions.Diagnostics.Metrics.HistogramAttribute : string[] -> Microsoft.Extensions.Diagnostics.Metrics.HistogramAttribute
Public Sub New (ParamArray tagNames As String())

Parameters

tagNames
String[]

variable array of tag names.

Applies to

HistogramAttribute(Type)

Source:
HistogramAttribute.cs
Source:
HistogramAttribute.cs

Initializes a new instance of the HistogramAttribute class.

public:
 HistogramAttribute(Type ^ type);
public HistogramAttribute (Type type);
new Microsoft.Extensions.Diagnostics.Metrics.HistogramAttribute : Type -> Microsoft.Extensions.Diagnostics.Metrics.HistogramAttribute
Public Sub New (type As Type)

Parameters

type
Type

A type providing the metric tag names. The tag values are taken from the type's public fields and properties.

Applies to