CounterAttribute 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
CounterAttribute(String[]) |
Initializes a new instance of the CounterAttribute class. |
CounterAttribute(Type) |
Initializes a new instance of the CounterAttribute class. |
CounterAttribute(String[])
- Source:
- CounterAttribute.cs
- Source:
- CounterAttribute.cs
Initializes a new instance of the CounterAttribute class.
public:
CounterAttribute(... cli::array <System::String ^> ^ tagNames);
public CounterAttribute (params string[] tagNames);
new Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute : string[] -> Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute
Public Sub New (ParamArray tagNames As String())
Parameters
- tagNames
- String[]
Dimension names.
Applies to
CounterAttribute(Type)
- Source:
- CounterAttribute.cs
- Source:
- CounterAttribute.cs
Initializes a new instance of the CounterAttribute class.
public:
CounterAttribute(Type ^ type);
public CounterAttribute (Type type);
new Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute : Type -> Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute
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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za