MarkerSeries.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)
Syntax
public void WriteMessage(
Importance level,
string format,
params object[] args
)
public:
void WriteMessage(
Importance level,
String^ format,
... array<Object^>^ args
)
member WriteMessage :
level:Importance *
format:string *
[<ParamArrayAttribute>] args:Object[] -> unit
Public Sub WriteMessage (
level As Importance,
format As String,
ParamArray args As Object()
)
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance level of the message.
format
Type: System.StringA 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
WriteMessage Overload
MarkerSeries Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace
Return to top