次の方法で共有


Markers.WriteFlag Method (Importance, String, Object[])

 

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

Parameters

  • 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: System.Object[]

    An object array containing zero or more objects to format.

See Also

WriteFlag Overload
Markers Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace

Return to top