Bagikan melalui


MarkerSeries Class

Represents a serial channel of events generated by a single provider.

Inheritance Hierarchy

Object
  Microsoft.ConcurrencyVisualizer.Instrumentation.MarkerSeries

Namespace:  Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly:  Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)

Syntax

'Declaration
Public Class MarkerSeries
public class MarkerSeries
public ref class MarkerSeries
type MarkerSeries =  class end
public class MarkerSeries

The MarkerSeries type exposes the following members.

Properties

  Name Description
Public property Writer Returns the MarkerWriter (provider) for this marker series.

Top

Methods

  Name Description
Public method EnterSpan(String) Marks the beginning of a new span.
Public method EnterSpan(Int32, String) Marks the beginning of a new span.
Public method EnterSpan(String, array<Object[]) Marks the beginning of a new span.
Public method EnterSpan(Importance, String) Marks the beginning of a new span.
Public method EnterSpan(Int32, String, array<Object[]) Marks the beginning of a new span.
Public method EnterSpan(Importance, Int32, String) Marks the beginning of a new span.
Public method EnterSpan(Importance, String, array<Object[]) Marks the beginning of a new span.
Public method EnterSpan(Importance, Int32, String, array<Object[]) Marks the beginning of a new span.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsEnabled() Determines whether any session has enabled the markers ETW provider.
Public method IsEnabled(Int32) Determines whether any session has enabled the markers ETW provider with the specified category.
Public method IsEnabled(Importance) Determines whether any session has enabled the markers ETW provider with the specified importance level.
Public method IsEnabled(Importance, Int32) Determines whether any session has enabled the markers ETW provider with the specified importance level and category.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteAlert(String) Writes an alert to the Concurrency Visualizer trace file with the specified string.
Public method WriteAlert(String, array<Object[]) Writes an alert to the Concurrency Visualizer trace file according to the specified format string and arguments.
Public method WriteFlag(String) Writes a flag to the Concurrency Visualizer trace file with the specified text.
Public method 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.
Public method WriteFlag(String, array<Object[]) Writes a flag to the Concurrency Visualizer trace file with the specified text. The text is specified by the format and args parameters.
Public method WriteFlag(Importance, String) Writes a flag to the Concurrency Visualizer trace file with the specified importance level and text.
Public method WriteFlag(Int32, String, array<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.
Public method WriteFlag(Importance, Int32, String) Writes a flag to the Concurrency Visualizer trace file with the specified importance level, category, and text.
Public method WriteFlag(Importance, String, array<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.
Public method WriteFlag(Importance, Int32, String, array<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.
Public method WriteMessage(String) Writes a message to the Concurrency Visualizer trace file with the specified text.
Public method 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.
Public method WriteMessage(String, array<Object[]) Writes a message to the Concurrency Visualizer trace file with the specified text. The text is specified by the format and args parameters.
Public method WriteMessage(Importance, String) Writes a message to the Concurrency Visualizer trace file with the specified importance level and text.
Public method WriteMessage(Int32, String, array<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.
Public method WriteMessage(Importance, Int32, String) Writes a message to the Concurrency Visualizer trace file with the specified importance level, category, and text.
Public method WriteMessage(Importance, String, array<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.
Public method WriteMessage(Importance, Int32, String, array<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.

Top

Fields

  Name Description
Public fieldStatic member CategoryAlert Specifies the category of the marker series.
Public fieldStatic member DefaultSeriesName Specifies the default name of the marker series.
Public field SeriesName Specifies the name of the marker series.

Top

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

Reference

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace