MarkerWriter Class

 

Represents a writer used to write markers for a specified provider 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.MarkerWriter

Syntax

public sealed class MarkerWriter : IDisposable
public ref class MarkerWriter sealed : IDisposable
[<Sealed>]
type MarkerWriter = 
    class
        interface IDisposable
    end
Public NotInheritable Class MarkerWriter
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod MarkerWriter(Guid)

Initializes a new instance of the MarkerWriter class.

Properties

Name Description
System_CAPS_pubproperty DefaultSeries

Gets the marker series associated with this writer.

Methods

Name Description
System_CAPS_pubmethod CreateMarkerSeries(String)

Creates and returns a marker series object.

System_CAPS_pubmethod Dispose()

Releases the resources used by the current instance of the MarkerWriter class.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Overrides Object.Finalize().)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IsEnabled()

Determines whether any session has enabled the markers ETW provider.

System_CAPS_pubmethod IsEnabled(Importance)

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

System_CAPS_pubmethod IsEnabled(Importance, Int32)

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

System_CAPS_pubmethod IsEnabled(Int32)

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

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static DefaultProviderGuid

Specifies the GUID of the default provider.

System_CAPS_pubfield ProviderId

Specifies the GUID of the created provider.

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

Return to top