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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.