Share via


Markers.WriteMessage Method (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 message to the Concurrency Visualizer trace file with the specified 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 WriteMessage ( _
    format As String, _
    ParamArray args As Object() _
)
public static void WriteMessage(
    string format,
    params Object[] args
)
public:
static void WriteMessage(
    String^ format, 
    ... array<Object^>^ args
)
static member WriteMessage : 
        format:string * 
        args:Object[] -> unit
public static function WriteMessage(
    format : String, 
    ... args : 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: array<System.Object[]

    An object array containing zero or more objects to format.

.NET Framework Security

See Also

Reference

Markers Class

WriteMessage Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace