Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Sub WriteMessage ( _
    level As Importance, _
    text As String _
)
public void WriteMessage(
    Importance level,
    string text
)
public:
void WriteMessage(
    Importance level, 
    String^ text
)
member WriteMessage : 
        level:Importance * 
        text:string -> unit
public 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.