IEtwActivityReverter.RevertCurrentActivityId Method

Definition

Reverts the ETW activity ID of the current thread to its original value.

public:
 void RevertCurrentActivityId();
public:
 void RevertCurrentActivityId();
void RevertCurrentActivityId();
public void RevertCurrentActivityId ();
abstract member RevertCurrentActivityId : unit -> unit
Public Sub RevertCurrentActivityId ()

Remarks

Calling Dispose() has the same effect as calling this method and is useful in the C# "using" syntax.

Applies to