HistogramAttribute<T> 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<T>(String[]) |
Initializes a new instance of the HistogramAttribute<T> class. |
HistogramAttribute<T>(Type) |
Initializes a new instance of the HistogramAttribute<T> class. |
HistogramAttribute<T>(String[])
- Source:
- HistogramAttributeT.cs
- Source:
- HistogramAttributeT.cs
Initializes a new instance of the HistogramAttribute<T> class.
public:
HistogramAttribute(... cli::array <System::String ^> ^ tagNames);
public HistogramAttribute (params string[] tagNames);
new Microsoft.Extensions.Diagnostics.Metrics.HistogramAttribute<'T (requires 'T : struct)> : string[] -> Microsoft.Extensions.Diagnostics.Metrics.HistogramAttribute<'T (requires 'T : struct)>
Public Sub New (ParamArray tagNames As String())
Parameters
- tagNames
- String[]
A variable array of tag names.
Applies to
HistogramAttribute<T>(Type)
- Source:
- HistogramAttributeT.cs
- Source:
- HistogramAttributeT.cs
Initializes a new instance of the HistogramAttribute<T> class.
public:
HistogramAttribute(Type ^ type);
public HistogramAttribute (Type type);
new Microsoft.Extensions.Diagnostics.Metrics.HistogramAttribute<'T (requires 'T : struct)> : Type -> Microsoft.Extensions.Diagnostics.Metrics.HistogramAttribute<'T (requires 'T : struct)>
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
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.