Histogram<T> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一種可用於報告可能具有統計意義的任意值的指標工具,例如請求時間。 呼叫 CreateHistogram<T>(String, String, String) 建立直方圖物件。
generic <typename T>
where T : value classpublic ref class Histogram sealed : System::Diagnostics::Metrics::Instrument<T>
public sealed class Histogram<T> : System.Diagnostics.Metrics.Instrument<T> where T : struct
type Histogram<'T (requires 'T : struct)> = class
inherit Instrument<'T (requires 'T : struct)>
Public NotInheritable Class Histogram(Of T)
Inherits Instrument(Of T)
類型參數
- T
直方圖所代表的類型。
- 繼承
備註
此類別僅支援以下一般參數類型:Byte、Int64Int32SingleInt16Double及。Decimal
屬性
| 名稱 | Description |
|---|---|
| Advice |
與 InstrumentAdvice<T> 樂器相關。 (繼承來源 Instrument<T>) |
| Description |
拿到樂器描述。 (繼承來源 Instrument) |
| Enabled |
會有一個值,表示是否有聽眾聽這個樂器。 (繼承來源 Instrument) |
| IsObservable |
會得到一個值,表示該儀器是否為可觀測儀器。 (繼承來源 Instrument) |
| Meter |
取得製作該儀器的計量器。 (繼承來源 Instrument) |
| Name |
他會拿到樂器名稱。 (繼承來源 Instrument) |
| Tags |
回傳與該儀器相關的標籤。 (繼承來源 Instrument) |
| Unit |
取得儀器的計量單位。 (繼承來源 Instrument) |