WriteMessage Method (Importance, String, Object[])

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


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

public static void WriteMessage(
	Importance level,
	string format,
	params object[] args


Type: Microsoft.ConcurrencyVisualizer.Instrumentation.Importance

The importance level of the message.

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

Type: System.Object[]

An object array containing zero or more objects to format.

Return to top
© 2016 Microsoft