Markers Class
Provides a set of methods to output marker data to the Concurrency Visualizer trace file.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Inheritance Hierarchy
System.Object
Microsoft.ConcurrencyVisualizer.Instrumentation.Markers
Syntax
public static class Markers
public ref class Markers abstract sealed
[<AbstractClass>]
[<Sealed>]
type Markers = class end
Public NotInheritable Class Markers
Properties
Name | Description | |
---|---|---|
DefaultWriter | Specifies the default provider for the marker events. |
Methods
Name | Description | |
---|---|---|
CreateMarkerSeries(String) | Creates and returns a marker series object. |
|
EnterSpan(Importance, Int32, String) | Marks the beginning of a new span. |
|
EnterSpan(Importance, Int32, String, Object[]) | Marks the beginning of a new span. |
|
EnterSpan(Importance, String) | Marks the beginning of a new span. |
|
EnterSpan(Importance, String, Object[]) | Marks the beginning of a new span. |
|
EnterSpan(Int32, String) | Marks the beginning of a new span. |
|
EnterSpan(Int32, String, Object[]) | Marks the beginning of a new span. |
|
EnterSpan(String) | Marks the beginning of a new span. |
|
EnterSpan(String, Object[]) | Marks the beginning of a new span. |
|
IsEnabled() | Determines whether any session has enabled the markers ETW provider. |
|
IsEnabled(Importance) | Determines whether any session has enabled the markers ETW provider with the specified importance level. |
|
IsEnabled(Importance, Int32) | Determines whether any session has enabled the markers ETW provider with the specified importance level and category. |
|
IsEnabled(Int32) | Determines whether any session has enabled the markers ETW provider with the specified category. |
|
WriteAlert(String) | Writes an alert to the Concurrency Visualizer trace file with the specified string. |
|
WriteAlert(String, Object[]) | Writes an alert to the Concurrency Visualizer trace file according to the specified format string and arguments. |
|
WriteFlag(Importance, Int32, String) | Writes a flag to the Concurrency Visualizer trace file with the specified importance level, category, and text. |
|
WriteFlag(Importance, Int32, String, Object[]) | Writes a flag to the Concurrency Visualizer trace file with the specified importance level, category, and text. The text is specified by the format and args parameters. |
|
WriteFlag(Importance, String) | Writes a flag to the Concurrency Visualizer trace file with the specified importance level and text. |
|
WriteFlag(Importance, String, Object[]) | Writes a flag to the Concurrency Visualizer trace file with the specified importance level and text. The text is specified by the format and args parameters. |
|
WriteFlag(Int32, String) | Writes a flag to the Concurrency Visualizer trace file with the specified important level and text. The text is specified by the format and args parameters. |
|
WriteFlag(Int32, String, Object[]) | Writes a flag to the Concurrency Visualizer trace file with the specified category and text. The text is specified by the format and args parameters. |
|
WriteFlag(String) | Writes a flag to the Concurrency Visualizer trace file with the specified text. |
|
WriteFlag(String, Object[]) | Writes a flag to the Concurrency Visualizer trace file with the specified text. The text is specified by the format and args parameters. |
|
WriteMessage(Importance, Int32, String) | Writes a message to the Concurrency Visualizer trace file with the specified importance level, category, and text. |
|
WriteMessage(Importance, Int32, String, Object[]) | 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. |
|
WriteMessage(Importance, String) | Writes a message to the Concurrency Visualizer trace file with the specified importance level and text. |
|
WriteMessage(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. |
|
WriteMessage(Int32, String) | Writes a message to the Concurrency Visualizer trace file with the specified important level and text. The text is specified by the format and args parameters. |
|
WriteMessage(Int32, String, Object[]) | Writes a message to the Concurrency Visualizer trace file with the specified category and text. The text is specified by the format and args parameters. |
|
WriteMessage(String) | Writes a message to the Concurrency Visualizer trace file with the specified text. |
|
WriteMessage(String, Object[]) | Writes a message to the Concurrency Visualizer trace file with the specified text. The text is specified by the format and args parameters. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace
Concurrency Visualizer SDK
Concurrency Visualizer Markers
Visualizing EventSource Events as Markers
Return to top