Markers.WriteMessage Method (Importance, String)
Writes a message to the Concurrency Visualizer trace file with the specified importance level and text.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
'Declaration
Public Shared Sub WriteMessage ( _
level As Importance, _
text As String _
)
public static void WriteMessage(
Importance level,
string text
)
public:
static void WriteMessage(
Importance level,
String^ text
)
static member WriteMessage :
level:Importance *
text:string -> unit
public static function WriteMessage(
level : Importance,
text : String
)
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance level of the message.
text
Type: StringA description of the message.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.