写入并发可视化工具跟踪文件的消息具有指定的文本。
命名空间: 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
)
参数
- text
类型:System.String
消息的说明。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。