DiagnosticCounter クラス

定義

DiagnosticCounter は、さまざまな Counter* クラス ( EventCounterPollingCounterIncrementingEventCounterIncrementingPollingCounter) の親クラスとして機能する抽象クラスです。

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
派生
属性
実装

プロパティ

名前 説明
DisplayName

カウンターの表示名を取得または設定します。

DisplayUnits

カウンターの表示単位を取得または設定します。

EventSource

このカウンターがアタッチされている EventSource を取得します。

Name

このカウンターの名前を取得します。

メソッド

名前 説明
AddMetadata(String, String)

ペイロードの一部として含めるキー値メタデータをカウンターに追加します。

Dispose()

EventSourceが報告するカウンターをセットから削除します。

Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象