MarkerSeries.WriteFlag Method (Importance, Int32, String, array<Object )

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes a flag to the Concurrency Visualizer trace file with the specified importance level, category, 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 Sub WriteFlag ( _
    level As Importance, _
    category As Integer, _
    format As String, _
    ParamArray args As Object() _
)
public void WriteFlag(
    Importance level,
    int category,
    string format,
    params Object[] args
)
public:
void WriteFlag(
    Importance level, 
    int category, 
    String^ format, 
    ... array<Object^>^ args
)
member WriteFlag : 
        level:Importance * 
        category:int * 
        format:string * 
        args:Object[] -> unit
public function WriteFlag(
    level : Importance, 
    category : int, 
    format : String, 
    ... args : Object[]
)

Parameters

  • category
    Type: System.Int32

    The category of the flag. Any integer is valid.

  • format
    Type: System.String

    A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the args array

  • args
    Type: array<System.Object[]

    An object array containing zero or more objects to format.

.NET Framework Security

See Also

Reference

MarkerSeries Class

WriteFlag Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace