Partager via


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
System_CAPS_pubpropertySystem_CAPS_static DefaultWriter

Specifies the default provider for the marker events.

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateMarkerSeries(String)

Creates and returns a marker series object.

System_CAPS_pubmethodSystem_CAPS_static EnterSpan(Importance, Int32, String)

Marks the beginning of a new span.

System_CAPS_pubmethodSystem_CAPS_static EnterSpan(Importance, Int32, String, Object[])

Marks the beginning of a new span.

System_CAPS_pubmethodSystem_CAPS_static EnterSpan(Importance, String)

Marks the beginning of a new span.

System_CAPS_pubmethodSystem_CAPS_static EnterSpan(Importance, String, Object[])

Marks the beginning of a new span.

System_CAPS_pubmethodSystem_CAPS_static EnterSpan(Int32, String)

Marks the beginning of a new span.

System_CAPS_pubmethodSystem_CAPS_static EnterSpan(Int32, String, Object[])

Marks the beginning of a new span.

System_CAPS_pubmethodSystem_CAPS_static EnterSpan(String)

Marks the beginning of a new span.

System_CAPS_pubmethodSystem_CAPS_static EnterSpan(String, Object[])

Marks the beginning of a new span.

System_CAPS_pubmethodSystem_CAPS_static IsEnabled()

Determines whether any session has enabled the markers ETW provider.

System_CAPS_pubmethodSystem_CAPS_static IsEnabled(Importance)

Determines whether any session has enabled the markers ETW provider with the specified importance level.

System_CAPS_pubmethodSystem_CAPS_static IsEnabled(Importance, Int32)

Determines whether any session has enabled the markers ETW provider with the specified importance level and category.

System_CAPS_pubmethodSystem_CAPS_static IsEnabled(Int32)

Determines whether any session has enabled the markers ETW provider with the specified category.

System_CAPS_pubmethodSystem_CAPS_static WriteAlert(String)

Writes an alert to the Concurrency Visualizer trace file with the specified string.

System_CAPS_pubmethodSystem_CAPS_static WriteAlert(String, Object[])

Writes an alert to the Concurrency Visualizer trace file according to the specified format string and arguments.

System_CAPS_pubmethodSystem_CAPS_static WriteFlag(Importance, Int32, String)

Writes a flag to the Concurrency Visualizer trace file with the specified importance level, category, and text.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static WriteFlag(Importance, String)

Writes a flag to the Concurrency Visualizer trace file with the specified importance level and text.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static WriteFlag(String)

Writes a flag to the Concurrency Visualizer trace file with the specified text.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static WriteMessage(Importance, Int32, String)

Writes a message to the Concurrency Visualizer trace file with the specified importance level, category, and text.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static WriteMessage(Importance, String)

Writes a message to the Concurrency Visualizer trace file with the specified importance level and text.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static WriteMessage(String)

Writes a message to the Concurrency Visualizer trace file with the specified text.

System_CAPS_pubmethodSystem_CAPS_static 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