LoggingOptions.RelatedActivityId 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 a value that uniquely identifies the parent activity to which this activity is related.
public:
property Platform::Guid RelatedActivityId { Platform::Guid get(); void set(Platform::Guid value); };
winrt::guid RelatedActivityId();
void RelatedActivityId(winrt::guid value);
public Guid RelatedActivityId { get; set; }
var guid = loggingOptions.relatedActivityId;
loggingOptions.relatedActivityId = guid;
Public Property RelatedActivityId As Guid
Property Value
A value that uniquely identifies the parent activity to which this activity is related.
Remarks
This value corresponds to the Event Tracing for Windows (ETW) definition of a related activity id. You will normally use the LoggingActivity class to automatically manage this value instead of setting it manually.