MarkerSeries.WriteFlag Method (Importance, Int32, String)
Writes a flag to the Concurrency Visualizer trace file with the specified importance level, category, and text.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
'Declaration
Public Sub WriteFlag ( _
level As Importance, _
category As Integer, _
text As String _
)
public void WriteFlag(
Importance level,
int category,
string text
)
public:
void WriteFlag(
Importance level,
int category,
String^ text
)
member WriteFlag :
level:Importance *
category:int *
text:string -> unit
public function WriteFlag(
level : Importance,
category : int,
text : String
)
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance level of the flag.
category
Type: Int32The category of the flag. Any integer is valid.
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.