DiagnosticCounter 클래스

정의

DiagnosticCounter 는 다양한 Counter* 클래스, 즉 EventCounter, PollingCounter, IncrementingEventCounterIncrementingPollingCounter.에 대한 부모 클래스로 사용되는 추상 클래스입니다.

public ref class DiagnosticCounter abstract : IDisposable
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public abstract class DiagnosticCounter : IDisposable
public abstract class DiagnosticCounter : IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type DiagnosticCounter = class
    interface IDisposable
type DiagnosticCounter = class
    interface IDisposable
Public MustInherit Class DiagnosticCounter
Implements IDisposable
상속
DiagnosticCounter
파생
특성
구현

속성

Name Description
DisplayName

카운터의 표시 이름을 가져오거나 설정합니다.

DisplayUnits

카운터의 표시 단위를 가져오거나 설정합니다.

EventSource

이 카운터가 연결된 EventSource를 가져옵니다.

Name

이 카운터의 이름을 가져옵니다.

메서드

Name Description
AddMetadata(String, String)

페이로드의 일부로 포함될 카운터에 키-값 메타데이터를 추가합니다.

Dispose()

보고할 집합에서 카운터를 EventSource 제거합니다.

Equals(Object)

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상