Markers.WriteFlag Method (Importance, String)
Writes a flag to the Concurrency Visualizer trace file with the specified importance level and text.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
'Declaration
Public Shared Sub WriteFlag ( _
level As Importance, _
text As String _
)
public static void WriteFlag(
Importance level,
string text
)
public:
static void WriteFlag(
Importance level,
String^ text
)
static member WriteFlag :
level:Importance *
text:string -> unit
public static function WriteFlag(
level : Importance,
text : String
)
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance level of the flag.
text
Type: StringA description of the flag.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.