HistogramAttribute Constructors
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.
HistogramAttribute(String[]) |
Initializes a new instance of the HistogramAttribute class. |
HistogramAttribute(Type) |
Initializes a new instance of the HistogramAttribute class. |
- 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
.NET 10 (package-provided) i druge verzije
Proizvod | Verzije |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- 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
.NET 10 (package-provided) i druge verzije
Proizvod | Verzije |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: