System.Diagnostics.ActivityEvent
Represents an event containing a name and a timestamp, as well as an optional list of tags.
namespace System.Diagnostics
{
public readonly struct ActivityEvent
{
public string Name { get; }
public DateTimeOffset Timestamp { get; }
public IEnumerable<KeyValuePair<string, object>> Tags { get; }
public ActivityEvent(string name);
public ActivityEvent(string name, DateTimeOffset timestamp = default(DateTimeOffset), ActivityTagsCollection tags = null);
public Activity.Enumerator<KeyValuePair<string, object>> EnumerateTagObjects();
}
}