共用方式為


Markers.WriteAlert 方法 (String)

寫入並行視覺化檢視的追蹤檔,以指定的字串中的警示。

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

語法

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

參數

.NET Framework 安全性

請參閱

參考

Markers 類別

WriteAlert 多載

Microsoft.ConcurrencyVisualizer.Instrumentation 命名空間