You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<paramname="value">The tag value mapped to the input key.</param>
199
+
<summary>Updates the activity to have a tag with an additional <paramrefname="key" /> and <paramrefname="value" />.</summary>
200
+
<returns><seelangword="this" /> for convenient chaining.</returns>
201
+
<remarks>
202
+
<formattype="text/markdown"><![CDATA[
203
+
204
+
## Remarks
205
+
206
+
This shows up in the <xref:System.Diagnostics.Activity.TagObjects> enumeration. It is meant for information that is useful to log but not needed for runtime control (for the latter, <xref:System.Diagnostics.Activity.Baggage>).
207
+
208
+
]]></format>
209
+
</remarks>
202
210
</Docs>
203
211
</Member>
204
212
<MemberMemberName="AddTag">
@@ -233,13 +241,14 @@ This key/value pair is included in the collection returned by the <xref:System.D
233
241
<returns>
234
242
<seelangword="this" /> for convenient chaining.</returns>
235
243
<remarks>
236
-
<formattype="text/markdown"><![CDATA[
244
+
<formattype="text/markdown">
245
+
<![CDATA[
237
246
238
247
## Remarks
239
248
240
-
This key/value pair is included in the collection returned by the <xref:System.Diagnostics.Activity.Tags> property.
249
+
This key/value pair is included in the collection returned by the <xref:System.Diagnostics.Activity.Tags> or <xref:System.Diagnostics.Activity.TagObjects> property.
241
250
242
-
<xref:System.Diagnostics.Activity.Tags> is meant for information that is useful to log with the <xref:System.Diagnostics.Activity>. For information that's needed for runtime control, use the <xref:System.Diagnostics.Activity.Baggage> property.
251
+
<xref:System.Diagnostics.Activity.Tags> <xref:System.Diagnostics.Activity.TagObjects> are meant for information that is useful to log with the <xref:System.Diagnostics.Activity>. For information that's needed for runtime control, use the <xref:System.Diagnostics.Activity.Baggage> property.
243
252
244
253
]]></format>
245
254
</remarks>
@@ -296,8 +305,8 @@ This key/value pair is included in the collection returned by the <xref:System.D
<paramname="propertyName">The name associated to the object.</param>
582
+
<summary>Returns the object mapped to the specified property name.</summary>
583
+
<returns>The object mapped to the property name, if one is found; otherwise, <seelangword="null" />.</returns>
565
584
<remarks>To be added.</remarks>
566
585
</Docs>
567
586
</Member>
@@ -639,9 +658,18 @@ An ID has a hierarchical structure: `root-id.id1_id2.id3_`. The ID is generated
639
658
<ReturnType>System.Boolean</ReturnType>
640
659
</ReturnValue>
641
660
<Docs>
642
-
<summary>To be added.</summary>
643
-
<value>To be added.</value>
644
-
<remarks>To be added.</remarks>
661
+
<summary>Indicates if the this activity should be populated with all the propagation information, as well as all the other properties such as links, tags and events.</summary>
662
+
<value>
663
+
<seelangword="true" /> if the activity should be populated; <seelangword="false" /> otherwise.</value>
664
+
<remarks>
665
+
<formattype="text/markdown"><![CDATA[
666
+
667
+
## Remarks
668
+
669
+
The best practice for the library authors is not try to set this property. This property is automatically set when creating the Activity. The setter is useful only in the case of Activity objects created using the Activity constructor and want to override the default value. Activity objects created using <xref:System.Diagnostics.ActivitySource.StartActivity%2A> automatically have this property set to the right value.
670
+
671
+
]]></format>
672
+
</remarks>
645
673
</Docs>
646
674
</Member>
647
675
<MemberMemberName="Kind">
@@ -660,8 +688,8 @@ An ID has a hierarchical structure: `root-id.id1_id2.id3_`. The ID is generated
<paramname="propertyName">The name to associate the value with.</param>
924
+
<paramname="propertyValue">The object to attach and map to the property name.</param>
925
+
<summary>Attaches any custom object to this activity. If the specified <paramrefname="propertyName" /> was previously associated with another object, the property will be updated to be associated with the new <paramrefname="propertyValue" /> instead. It is recommended to use a unique property name to avoid conflicts with anyone using the same value.</summary>
898
926
<remarks>To be added.</remarks>
899
927
</Docs>
900
928
</Member>
@@ -1094,11 +1122,25 @@ This method has the advantage that no string manipulation is needed to set the I
<summary>Get the activity source associated with this activity.</summary>
1121
1163
<value>To be added.</value>
1122
-
<remarks>To be added.</remarks>
1164
+
<remarks>
1165
+
<formattype="text/markdown"><![CDATA[
1166
+
1167
+
## Remarks
1168
+
1169
+
All activities created from public constructors will have a singleton source where the source name is an empty string. Otherwise, the source will hold the object that created the activity through <xref:System.Diagnostics.ActivitySource.StartActivity%2A>.
<summary>Returns the list of tags representing information to log along with the activity. This information is not passed on to the children of this activity.</summary>
1331
+
<value>A key-value pair enumeration of tags and objects.</value>
Copy file name to clipboardExpand all lines: xml/System.Diagnostics/ActivityContext.xml
+48-22Lines changed: 48 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,16 @@
18
18
</Interface>
19
19
</Interfaces>
20
20
<Docs>
21
-
<summary>To be added.</summary>
22
-
<remarks>To be added.</remarks>
21
+
<summary>A representation that conforms to the W3C TraceContext specification. It contains two identifiers: a TraceId and a SpanId, along with a set of common TraceFlags and system-specific TraceState values.</summary>
22
+
<remarks>
23
+
<formattype="text/markdown"><![CDATA[
24
+
25
+
## Remarks
26
+
27
+
ActivityContext contains the property `IsRemote`, which is not part of W3C. `IsRemote` is indicating if the context is propagated from a remote parent.
28
+
29
+
]]></format>
30
+
</remarks>
23
31
</Docs>
24
32
<Members>
25
33
<MemberMemberName=".ctor">
@@ -41,13 +49,21 @@
41
49
<ParameterName="isRemote"Type="System.Boolean" />
42
50
</Parameters>
43
51
<Docs>
44
-
<paramname="traceId">To be added.</param>
45
-
<paramname="spanId">To be added.</param>
46
-
<paramname="traceOptions">To be added.</param>
47
-
<paramname="traceState">To be added.</param>
48
-
<paramname="isRemote">To be added.</param>
49
-
<summary>To be added.</summary>
50
-
<remarks>To be added.</remarks>
52
+
<paramname="traceId">A trace identifier.</param>
53
+
<paramname="spanId">A span identifier.</param>
54
+
<paramname="traceOptions">An 8-bit field that controls tracing flags such as sampling, trace level, etc.</param>
0 commit comments