Markers.WriteMessage Method (Int32, String, Object[])

 

Writes a message 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)

public static void WriteMessage(
	int category,
	string format,
	params object[] args
)

Parameters

category
Type: System.Int32

The category of the message. 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: System.Object[]

An object array containing zero or more objects to format.

Return to top
Show: