HistogramAttribute Constructors
Definition
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.
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[]
A 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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för