Bagikan melalui


MarkerSeries.WriteFlag Method (Importance, Int32, String)

Writes a flag to the Concurrency Visualizer trace file with the specified importance level, category, and text.

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

Syntax

'Declaration
Public Sub WriteFlag ( _
    level As Importance, _
    category As Integer, _
    text As String _
)
public void WriteFlag(
    Importance level,
    int category,
    string text
)
public:
void WriteFlag(
    Importance level, 
    int category, 
    String^ text
)
member WriteFlag : 
        level:Importance * 
        category:int * 
        text:string -> unit
public function WriteFlag(
    level : Importance, 
    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

MarkerSeries Class

WriteFlag Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace