Share via


Markers.WriteAlert Method (String, Object[])

 

Writes an alert to the Concurrency Visualizer trace file according to the specified format string and arguments.

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

Syntax

public static void WriteAlert(
    string format,
    params object[] args
)
public:
static void WriteAlert(
    String^ format,
    ... array<Object^>^ args
)
static member WriteAlert : 
        format:string *
        [<ParamArrayAttribute>] args:Object[] -> unit
Public Shared Sub WriteAlert (
    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

WriteAlert Overload
Markers Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace

Return to top