Udostępnij za pośrednictwem


IEtwEventCorrelator Interface

Definition

An object that can be used to manage the ETW activity ID of the current thread.

public interface class IEtwEventCorrelator
public interface IEtwEventCorrelator
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IEtwEventCorrelator
type IEtwEventCorrelator = interface
[<System.Runtime.CompilerServices.NullableContext(1)>]
type IEtwEventCorrelator = interface
Public Interface IEtwEventCorrelator
Derived
Attributes

Properties

CurrentActivityId

Gets or sets the ETW activity ID of the current thread.

Methods

StartActivity()

Creates and sets a new activity ID for the current thread. If the current thread has an existing activity ID, it will be correlated with the new activity ID.

StartActivity(Guid)

Creates and sets a new activity ID for the current thread, optionally correlating the new activity with another activity.

Applies to