DiagnosticCounter 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
DiagnosticCounter 是一個抽象類別,作為各種 Counter* 類別的父系類別,即 EventCounter、PollingCounter、IncrementingEventCounter 和 IncrementingPollingCounter。
public ref class DiagnosticCounter abstract : IDisposable
C#
public abstract class DiagnosticCounter : IDisposable
C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public abstract class DiagnosticCounter : IDisposable
type DiagnosticCounter = class
interface IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type DiagnosticCounter = class
interface IDisposable
Public MustInherit Class DiagnosticCounter
Implements IDisposable
- 繼承
-
DiagnosticCounter
- 衍生
- 屬性
- 實作
Display |
取得或設定計數器的顯示名稱。 |
Display |
取得或設定計數器的顯示單位。 |
Event |
取得此計數器所附加的 EventSource。 |
Name |
取得此計數器的名稱。 |
Add |
將索引鍵/值中繼資料新增至將作為承載一部分的計數器。 |
Dispose() |
從 EventSource 報告的集合中移除計數器。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Standard | 2.1 |