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
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
HistogramAttribute(Type)
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.