次の方法で共有


Markers.WriteMessage Method (Int32, String)

 

Writes a message to the Concurrency Visualizer trace file with the specified important level and text. The text is specified by the format and args parameters.

Namespace:   Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly:  Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)

Syntax

public static void WriteMessage(
    int category,
    string text
)
public:
static void WriteMessage(
    int category,
    String^ text
)
static member WriteMessage : 
        category:int *
        text:string -> unit
Public Shared Sub WriteMessage (
    category As Integer,
    text As String
)

Parameters

  • category
    Type: System.Int32

    The category of the message. Any integer is valid.

See Also

WriteMessage Overload
Markers Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace

Return to top