다음을 통해 공유


CounterAttribute<T> 생성자

정의

오버로드

CounterAttribute<T>(String[])

CounterAttribute<T> 클래스의 새 인스턴스를 초기화합니다.

CounterAttribute<T>(Type)

CounterAttribute<T> 클래스의 새 인스턴스를 초기화합니다.

CounterAttribute<T>(String[])

Source:
CounterAttributeT.cs
Source:
CounterAttributeT.cs

CounterAttribute<T> 클래스의 새 인스턴스를 초기화합니다.

public:
 CounterAttribute(... cli::array <System::String ^> ^ tagNames);
public CounterAttribute (params string[] tagNames);
new Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute<'T (requires 'T : struct)> : string[] -> Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute<'T (requires 'T : struct)>
Public Sub New (ParamArray tagNames As String())

매개 변수

tagNames
String[]

태그 이름의 변수 배열입니다.

적용 대상

CounterAttribute<T>(Type)

Source:
CounterAttributeT.cs
Source:
CounterAttributeT.cs

CounterAttribute<T> 클래스의 새 인스턴스를 초기화합니다.

public:
 CounterAttribute(Type ^ type);
public CounterAttribute (Type type);
new Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute<'T (requires 'T : struct)> : Type -> Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute<'T (requires 'T : struct)>
Public Sub New (type As Type)

매개 변수

type
Type

메트릭 태그 이름을 제공하는 형식입니다. 태그 값은 형식의 공용 필드 및 속성에서 가져옵니다.

적용 대상