Markers.WriteFlag Method (Int32, String)

Writes a flag 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

'Declaration
Public Shared Sub WriteFlag ( _
    category As Integer, _
    text As String _
)
public static void WriteFlag(
    int category,
    string text
)
public:
static void WriteFlag(
    int category, 
    String^ text
)
static member WriteFlag : 
        category:int * 
        text:string -> unit
public static function WriteFlag(
    category : int, 
    text : String
)

Parameters

  • category
    Type: Int32

    The category of the flag. Any integer is valid.

  • text
    Type: String

    A description of the flag.

.NET Framework Security

See Also

Reference

Markers Class

WriteFlag Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace