Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Writes a message to the Concurrency Visualizer trace file with the specified importance level, 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)
Syntax
public static void WriteMessage(
Importance level,
int category,
string format,
params object[] args
)
public:
static void WriteMessage(
Importance level,
int category,
String^ format,
... array<Object^>^ args
)
static member WriteMessage :
level:Importance *
category:int *
format:string *
[<ParamArrayAttribute>] args:Object[] -> unit
Public Shared Sub WriteMessage (
level As Importance,
category As Integer,
format As String,
ParamArray args As Object()
)
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance level of the message.
category
Type: System.Int32The category of the message. Any integer is valid.
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
Markers Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace
Return to top