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 flag to the Concurrency Visualizer trace file with the specified 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 Shared Sub WriteFlag ( _
    category As Integer, _
    format As String, _
    ParamArray args As Object() _
)
public static void WriteFlag(
    int category,
    string format,
    params Object[] args
)
public:
static void WriteFlag(
    int category, 
    String^ format, 
    ... array<Object^>^ args
)
static member WriteFlag : 
        category:int * 
        format:string * 
        args:Object[] -> unit
public static function WriteFlag(
    category : int, 
    format : String, 
    ... args : Object[]
)
Parameters
category
Type: Int32The category of the flag. Any integer is valid.
format
Type: StringA composite format string that contains text intermixed with zero or more format items, which correspond to objects in the args array
args
Type: array<Object[]An object array containing zero or more objects to format.
.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.