共用方式為


MarkerSeries.WriteAlert 方法 (String)

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

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

語法

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

參數

  • text
    類型:String

    警示的描述。

.NET Framework 安全性

請參閱

參考

MarkerSeries 類別

WriteAlert 多載

Microsoft.ConcurrencyVisualizer.Instrumentation 命名空間