共用方式為


MarkerWriter 類別

 

發行︰ 2016年7月

表示寫入器,用來將指定提供者的標記寫入並行視覺化檢視追蹤檔案。

命名空間:   Microsoft.ConcurrencyVisualizer.Instrumentation
組件:  Microsoft.ConcurrencyVisualizer.Markers (於 Microsoft.ConcurrencyVisualizer.Markers.dll)

繼承階層

System.Object
  Microsoft.ConcurrencyVisualizer.Instrumentation.MarkerWriter

語法

public sealed class MarkerWriter : IDisposable
public ref class MarkerWriter sealed : IDisposable
[<Sealed>]
type MarkerWriter = 
    class
        interface IDisposable
    end
Public NotInheritable Class MarkerWriter
    Implements IDisposable

建構函式

名稱 描述
System_CAPS_pubmethod MarkerWriter(Guid)

初始化 MarkerWriter 類別的新執行個體。

屬性

名稱 描述
System_CAPS_pubproperty DefaultSeries

取得與這個寫入器相關聯的標記系列。

方法

名稱 描述
System_CAPS_pubmethod CreateMarkerSeries(String)

建立並傳回資料標記數列物件。

System_CAPS_pubmethod Dispose()

將 MarkerWriter 類別目前的執行個體所使用的資源釋出。

System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_protmethod Finalize()

(覆寫 Object.Finalize()。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod IsEnabled()

判斷是否有工作階段已啟用標記 ETW 提供者。

System_CAPS_pubmethod IsEnabled(Importance)

判斷是否有任何工作階段已啟用具有指定之重要性層級的標記 ETW 提供者。

System_CAPS_pubmethod IsEnabled(Importance, Int32)

判斷是否有任何工作階段已啟用具有指定之重要性層級及分類的標記 ETW 提供者。

System_CAPS_pubmethod IsEnabled(Int32)

判斷是否有任何工作階段已啟用指定之分類的標記 ETW 提供者。

System_CAPS_pubmethod ToString()

(繼承自 Object。)

欄位

名稱 描述
System_CAPS_pubfieldSystem_CAPS_static DefaultProviderGuid

指定預設提供者的 GUID。

System_CAPS_pubfield ProviderId

指定所建立的提供者的 GUID。

執行緒安全

此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。

另請參閱

Microsoft.ConcurrencyVisualizer.Instrumentation 命名空間

回到頁首