GaugeAttribute 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
GaugeAttribute(String[]) |
Initializes a new instance of the GaugeAttribute class. |
GaugeAttribute(Type) |
Initializes a new instance of the GaugeAttribute class. |
GaugeAttribute(String[])
- Source:
- GaugeAttribute.cs
Initializes a new instance of the GaugeAttribute class.
public:
GaugeAttribute(... cli::array <System::String ^> ^ tagNames);
public GaugeAttribute (params string[] tagNames);
new Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute : string[] -> Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute
Public Sub New (ParamArray tagNames As String())
Parameters
- tagNames
- String[]
Variable array of tag names.
Applies to
GaugeAttribute(Type)
- Source:
- GaugeAttribute.cs
Initializes a new instance of the GaugeAttribute class.
public:
GaugeAttribute(Type ^ type);
public GaugeAttribute (Type type);
new Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute : Type -> Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute
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 ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา