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 | |
---|---|---|
MarkerWriter(Guid) | Initializes a new instance of the MarkerWriter class. |
Properties
Name | Description | |
---|---|---|
DefaultSeries | Gets the marker series associated with this writer. |
Methods
Name | Description | |
---|---|---|
CreateMarkerSeries(String) | Creates and returns a marker series object. |
|
Dispose() | Releases the resources used by the current instance of the MarkerWriter class. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Overrides Object.Finalize().) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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. |
|
ToString() | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
DefaultProviderGuid | Specifies the GUID of the default provider. |
|
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