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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor