Skip to content

Commit 3615fd9

Browse files
authored
Add default formats (#4502)
1 parent bfab376 commit 3615fd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xml/System.Diagnostics/Activity.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ This key/value pair is included in the collection returned by the <xref:System.D
326326
327327
The `Activity` instance tries to use the same format for IDs as its parent. If the activity has no parent, this property determines the default format to use.
328328
329+
In .NET 5.0 and later, the default format is <xref:System.Diagnostics.ActivityIdFormat.W3C?displayProperty=nameWithType>. In previous versions, the default format is <xref:System.Diagnostics.ActivityIdFormat.Hierarchical?displayProperty=nameWithType>.
330+
329331
]]></format>
330332
</remarks>
331333
</Docs>

0 commit comments

Comments
 (0)