LoggingOptions.ActivityId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the unique identifier associated with an activity.
public:
property Platform::Guid ActivityId { Platform::Guid get(); void set(Platform::Guid value); };
winrt::guid ActivityId();
void ActivityId(winrt::guid value);
public Guid ActivityId { get; set; }
var guid = loggingOptions.activityId;
loggingOptions.activityId = guid;
Public Property ActivityId As Guid
Property Value
The activity unique identifier.
Remarks
This value corresponds to the Event Tracing for Windows (ETW) definition of an activity id. You will normally use the LoggingActivity class to automatically manage this value instead of setting it manually.