Model/bin/Debug/System.Diagnostics.DiagnosticSource.xml
(开头部分) 33KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Diagnostics.DiagnosticSource</name>
</assembly>
<members>
<member name="T:System.Diagnostics.Activity">
<summary>Represents an operation with context to be used for logging.</summary>
</member>
<member name="M:System.Diagnostics.Activity.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Activity" /> class.</summary>
<param name="operationName">The name of the operation.</param>
</member>
<member name="P:System.Diagnostics.Activity.ActivityTraceFlags">
<summary>Gets the flags (defined by the W3C ID specification) associated with the activity.</summary>
<returns>the flags associated with the activity.</returns>
</member>
<member name="M:System.Diagnostics.Activity.AddBaggage(System.String,System.String)">
<summary>Updates the <see cref="T:System.Diagnostics.Activity" /> to have a new baggage item with the specified key and value.</summary>
<param name="key">The baggage key.</param>
<param name="value">The baggage value.</param>
<returns>
<see langword="this" /> for convenient chaining.</returns>
</member>
<member name="M:System.Diagnostics.Activity.AddTag(System.String,System.String)">
<summary>Updates the <see cref="T:System.Diagnostics.Activity" /> to have a new tag with the provided <paramref name="key" /> and <paramref name="value" />. .</summary>
<param name="key">The tag key.</param>
<param name="value">The tag value.</param>
<returns>
<see langword="this" /> for convenient chaining.</returns>
</member>
<member name="P:System.Diagnostics.Activity.Baggage">
<summary>Gets a collection of key/value pairs that represents information that is passed to children of this <see cref="T:System.Diagnostics.Activity" />.</summary>
<returns>An enumeration of string-string key-value pairs.</returns>
</member>
<member name="P:System.Diagnostics.Activity.Current">
<summary>Gets or sets the current operation (<see cref="T:System.Diagnostics.Activity" />) for the current thread. This flows across async calls.</summary>
<returns>The current operation for the current thread.</returns>
</member>
<member name="P:System.Diagnostics.Activity.DefaultIdFormat">
<summary>Gets or sets the default ID format for the <see cref="T:System.Diagnostics.Activity" />.</summary>
</member>
<member name="P:System.Diagnostics.Activity.Duration">
<summary>Gets the duration of the operation.</summary>
<returns>The delta between <see cref="P:System.Diagnostics.Activity.StartTimeUtc" /> and the end time if the <see cref="T:System.Diagnostics.Activity" /> has ended (<see cref="M:System.Diagnostics.Activity.Stop" /> or <see cref="M:System.Diagnostics.Activity.SetEndTime(System.DateTime)" /> was called), or <see cref="F:System.TimeSpan.Zero" /> if the <see cref="T:System.Diagnostics.Activity" /> has not ended and <see cref="M:System.Diagnostics.Activity.SetEndTime(System.DateTime)" /> was not called.</returns>
</member>
<member name="P:System.Diagnostics.Activity.ForceDefaultIdFormat">
<summary>Gets or sets a valud that detrmines if the <see cref="P:System.Diagnostics.Activity.DefaultIdFormat" /> is always used to define the default ID format.</summary>
<returns>
<see langword="true" /> to always use the <see cref="P:System.Diagnostics.Activity.DefaultIdFormat" />; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Diagnostics.Activity.GetBaggageItem(System.String)">
<summary>Returns the value of a key-value pair added to the activity with <see cref="M:System.Diagnostics.Activity.AddBaggage(System.String,System.String)" />.</summary>
<param name="key">The baggage key.</param>
<returns>The value of the key-value-pair item if it exists, or <see langword="null" /> if it does not exist.</returns>
</member>
<member name="P:System.Diagnostics.Activity.Id">
<summary>Gets an identifier that is specific to a particular request.</summary>
<returns>The activity ID.</returns>
</member>
后面还有 378 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。