共用方式為


Markers.WriteMessage 方法 (String)

將訊息寫入並行視覺化檢視的追蹤檔,以指定的文字。

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

語法

'宣告
Public Shared Sub WriteMessage ( _
    text As String _
)
public static void WriteMessage(
    string text
)
public:
static void WriteMessage(
    String^ text
)
static member WriteMessage : 
        text:string -> unit 
public static function WriteMessage(
    text : String
)

參數

.NET Framework 安全性

請參閱

參考

Markers 類別

WriteMessage 多載

Microsoft.ConcurrencyVisualizer.Instrumentation 命名空間