<summary>Updates the <seecref="T:System.Diagnostics.Activity"/> to have a new tag with the provided <paramrefname="key"/> and <paramrefname="value"/>.</summary>
<paramname="key">The tag key.</param>
<paramname="value">The tag value.</param>
<returns>
<seelangword="this"/> for convenient chaining.</returns>
<summary>Returns the value of a key-value pair added to the activity with <seecref="M:System.Diagnostics.Activity.AddBaggage(System.String,System.String)"/>.</summary>
<paramname="key">The baggage key.</param>
<returns>The value of the key-value-pair item if it exists, or <seelangword="null"/> if it does not exist.</returns>
<summary>Add or update the Activity baggage with the input key and value.
If the input value is <seelangword="null"/> - if the collection has any baggage with the same key, then this baggage will get removed from the collection.
- otherwise, nothing will happen and the collection will not change.
If the input value is not <seelangword="null"/> - if the collection has any baggage with the same key, then the value mapped to this key will get updated with the new input value.
- otherwise, the key and value will get added as a new baggage to the collection.
Baggage item will be updated/removed only if it was originaly added to the current activity. Items inherited from the parents will not be changed/removed, new item would be added to current activity baggage instead.</summary>
<paramname="key">The baggage key name</param>
<paramname="value">The baggage value mapped to the input key</param>
<returns>
<seelangword="this"/> for convenient chaining.</returns>
<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>
<paramname="propertyName">The name to associate the value with.</param>
<paramname="propertyValue">The object to attach and map to the property name.</param>
<summary>Updates the <seecref="T:System.Diagnostics.Activity"/> to set its <seecref="P:System.Diagnostics.Activity.Duration"/> as the difference between <seecref="P:System.Diagnostics.Activity.StartTimeUtc"/> and the specified stop time.</summary>
<paramname="endTimeUtc">The UTC stop time.</param>
<returns>
<seelangword="this"/> for convenient chaining.</returns>
<paramname="activityTraceFlags">One of the enumeration values that specifies flags defined by the W3C standard that are associated with an activity.</param>
<returns>
<seelangword="this"/> for convenient chaining.</returns>
<summary>Updates this <seecref="T:System.Diagnostics.Activity"/> to indicate that the <seecref="T:System.Diagnostics.Activity"/> with an ID of <paramrefname="parentId"/> caused this <seecref="T:System.Diagnostics.Activity"/>.</summary>
<paramname="parentId">The ID of the parent operation.</param>
<returns>
<seelangword="this"/> for convenient chaining.</returns>
<summary>Gets a collection of key/value pairs that represents information that is passed to children of this <seecref="T:System.Diagnostics.Activity"/>.</summary>
<returns>Information that's passed to children of this <seecref="T:System.Diagnostics.Activity"/>.</returns>
<summary>Gets or sets the current operation (<seecref="T:System.Diagnostics.Activity"/>) for the current thread. This flows across async calls.</summary>
<returns>The current operation for the current thread.</returns>
<summary>Gets the duration of the operation.</summary>
<returns>The delta between <seecref="P:System.Diagnostics.Activity.StartTimeUtc"/> and the end time if the <seecref="T:System.Diagnostics.Activity"/> has ended (<seecref="M:System.Diagnostics.Activity.Stop"/> or <seecref="M:System.Diagnostics.Activity.SetEndTime(System.DateTime)"/> was called), or <seecref="F:System.TimeSpan.Zero"/> if the <seecref="T:System.Diagnostics.Activity"/> has not ended and <seecref="M:System.Diagnostics.Activity.SetEndTime(System.DateTime)"/> was not called.</returns>
<summary>Gets or sets a value that detrmines if the <seecref="P:System.Diagnostics.Activity.DefaultIdFormat"/> is always used to define the default ID format.</summary>
<returns>
<seelangword="true"/> to always use the <seecref="P:System.Diagnostics.Activity.DefaultIdFormat"/>; otherwise, <seelangword="false"/>.</returns>
<summary>Gets or sets a value that indicates whether this activity should be populated with all the propagation information, as well as all the other properties, such as links, tags, and events.</summary>
<returns>
<seelangword="true"/> if the activity should be populated; <seelangword="false"/> otherwise.</returns>
<summary>Gets the parent <seecref="T:System.Diagnostics.Activity"/> that created this activity.</summary>
<returns>The parent of this <seecref="T:System.Diagnostics.Activity"/>, if it is from the same process, or <seelangword="null"/> if this instance has no parent (it is a root activity) or if the parent is from outside the process.</returns>
<summary>Gets the root ID of this <seecref="T:System.Diagnostics.Activity"/>.</summary>
<returns>The root ID, or <seelangword="null"/> if the current instance has either a <seecref="P:System.Diagnostics.Activity.ParentId"/> or an <seecref="P:System.Diagnostics.Activity.Id"/>.</returns>
<summary>Gets the SPAN part of the <seecref="P:System.Diagnostics.Activity.Id"/>.</summary>
<returns>The ID for the SPAN part of <seecref="P:System.Diagnostics.Activity.Id"/>, if the <seecref="T:System.Diagnostics.Activity"/> has the W3C format; otherwise, a zero <seelangword="SpanId"/>.</returns>
<summary>Gets the list of tags that represent information to log along with the activity. This information is not passed on to the children of this activity.</summary>
<returns>A key-value pair enumeration of tags and objects.</returns>
</member>
<membername="P:System.Diagnostics.Activity.Tags">
<summary>Gets a collection of key/value pairs that represent information that will be logged along with the <seecref="T:System.Diagnostics.Activity"/> to the logging system.</summary>
<returns>Information that will be logged along with the <seecref="T:System.Diagnostics.Activity"/> to the logging system.</returns>
<summary>Gets the TraceId part of the <seecref="P:System.Diagnostics.Activity.Id"/>.</summary>
<returns>The ID for the TraceId part of the <seecref="P:System.Diagnostics.Activity.Id"/>, if the ID has the W3C format; otherwise, a zero TraceId.</returns>
<summary>Advances the enumerator to the next element of the data.</summary>
<returns>
<seelangword="true"/> if the enumerator was successfully advanced to the next element; <seelangword="false"/> if the enumerator has passed the end of the collection.</returns>
<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>
<summary>Provides a hash function for the current <seelangword="ActivityContext"/> that's suitable for hashing algorithms and data structures, such as hash tables.</summary>
<returns>A hash code for the current <seelangword="ActivityContext"/>.</returns>
<seelangword="true"/> to propagate the context from the remote parent; otherwise, <seelangword="false"/>.</param>
<paramname="context">When this method returns, contains the <seecref="T:System.Diagnostics.ActivityContext"/> object created from the parsing operation.</param>
<returns>
<seelangword="true"/> if the operation succeeds; <seelangword="false"/> otherwise.</returns>
<paramname="context">When this method returns <seelangword="true"/>, the <seecref="T:System.Diagnostics.ActivityContext"/> object created from the parsing operation.</param>
<returns>
<seelangword="true"/> if the parsing was successful; <seelangword="false"/> otherwise.</returns>
<summary>Encapsulates all the information that is sent to the activity listener, to make decisions about the creation of the activity instance, as well as its state.
The possible generic type parameters are <seecref="T:System.Diagnostics.ActivityContext"/> or <seecref="T:System.String"/>.</summary>
<typeparamname="T">The type of the <seelangword="Parent"/> property. Should be either <seecref="T:System.String"/> or <seelangword="ActivityContext"/>.</typeparam>
<summary>Gets the parent context or parent Id that the activity will get created with.</summary>
<returns>The parent of the activity, represented either as a <seecref="T:System.String"/> or as an <seecref="T:System.Diagnostics.ActivityContext"/>.</returns>
<summary>Gets the collection that is used to add more tags during the sampling process. The added tags are also added to the created Activity if it is decided that it should be created by the <seecref="T:System.Diagnostics.ActivityListener"/> callbacks.</summary>
<summary>Gets the trace Id to use in the Activity object if it is decided that it should be created by <seecref="T:System.Diagnostics.ActivityListener"/> callbacks.</summary>
<summary>Initializes a new activity event instance using the specified name, timestamp and tags.</summary>
<paramname="name">The event name.</param>
<paramname="timestamp">The event timestamp. Timestamp must only be used for the events that happened in the past, not at the moment of this call.</param>
<summary>Requests incoming from external component.</summary>
</member>
<membername="T:System.Diagnostics.ActivityLink">
<summary>Activities may be linked to zero or more activity context instances that are causally related.
Activity links can point to activity contexts inside a single trace or across different traces.
Activity links can be used to represent batched operations where an activity was initiated by multiple initiating activities, each representing a single incoming item being processed in the batch.</summary>
<summary>Provides a hash function for the current <seelangword="ActivityLink"/> that's suitable for hashing algorithms and data structures, such as hash tables.</summary>
<returns>A hash code for the current <seelangword="ActivityLink"/>.</returns>
<summary>Allows listening to the start and stop activity events and gives the opportunity to decide creating an activity for sampling scenarios.</summary>
<summary>Gets or sets the callback that is used to decide if creating <seecref="T:System.Diagnostics.Activity"/> objects with a specific data state is allowed.</summary>
<summary>Gets or sets the callback that is used to decide if creating <seecref="T:System.Diagnostics.Activity"/> objects with a specific data state is allowed.</summary>
<summary>Gets or sets the callback that allows deciding if activity object events that were created using the activity source object should be listened or not.</summary>
<returns>
<seelangword="true"/> to listen events; <seelangword="false"/> otherwise.</returns>
<summary>Enumeration values used by <seecref="T:System.Diagnostics.ActivityListener"/> to indicate the amount of data to collect for the related <seecref="T:System.Diagnostics.Activity"/>. Requesting more data causes a greater performance overhead.</summary>
<summary>The activity object should be populated with all the propagation information and also all other properties such as Links, Tags, and Events. Using this value causes <seecref="P:System.Diagnostics.Activity.IsAllDataRequested"/> to return <seelangword="true"/>.</summary>
<summary>The activity object should be populated the same as the <seecref="F:System.Diagnostics.ActivitySamplingResult.AllData"/> case. Additionally, Activity.Recorded is set to <seelangword="true"/>. For activities using the W3C trace ids, this sets a flag bit in the ID that will be propagated downstream requesting that the trace is recorded everywhere.</summary>
<summary>The activity object needs to be created. It will have a Name, a Source, an Id and Baggage. Other properties are unnecessary and will be ignored by this listener.</summary>
<summary>Provides APIs to create and start <seecref="T:System.Diagnostics.Activity"/> objects and to register <seecref="T:System.Diagnostics.ActivityListener"/> objects to listen to the <seecref="T:System.Diagnostics.Activity"/> events.</summary>
<summary>Creates a new <seecref="T:System.Diagnostics.Activity"/> object if there is any listener to the Activity, returns <seelangword="null"/> otherwise.</summary>
<paramname="name">The operation name of the Activity</param>
<summary>Creates a new <seecref="T:System.Diagnostics.Activity"/> object if there is any listener to the Activity, returns <seelangword="null"/> otherwise.
If the Activity object is created, it will not automatically start. Callers will need to call <seecref="M:System.Diagnostics.Activity.Start"/> to start it.</summary>
<paramname="name">The operation name of the Activity.</param>
<summary>Creates a new <seecref="T:System.Diagnostics.Activity"/> object if there is any listener to the Activity, returns <seelangword="null"/> otherwise.</summary>
<paramname="name">The operation name of the Activity.</param>
<summary>Creates and starts a new <seecref="T:System.Diagnostics.Activity"/> object if there is any listener to the Activity events, returns <seelangword="null"/> otherwise.</summary>
<summary>Creates a new activity if there are active listeners for it, using the specified name, activity kind, parent activity context, tags, optional activity link and optional start time.</summary>
<paramname="name">The operation name of the activity.</param>
<paramname="kind">The activity kind.</param>
<paramname="parentContext">The parent <seecref="T:System.Diagnostics.ActivityContext"/> object to initialize the created activity object with.</param>
<paramname="tags">The optional tags list to initialize the created activity object with.</param>
<paramname="links">The optional <seecref="T:System.Diagnostics.ActivityLink"/> list to initialize the created activity object with.</param>
<paramname="startTime">The optional start timestamp to set on the created activity object.</param>
<returns>The created activity object, if it had active listeners, or <seelangword="null"/> if it has no event listeners.</returns>
<summary>Creates a new activity if there are active listeners for it, using the specified name, activity kind, parent Id, tags, optional activity links and optional start time.</summary>
<paramname="name">The operation name of the activity.</param>
<paramname="kind">The activity kind.</param>
<paramname="parentId">The parent Id to initialize the created activity object with.</param>
<paramname="tags">The optional tags list to initialize the created activity object with.</param>
<paramname="links">The optional <seecref="T:System.Diagnostics.ActivityLink"/> list to initialize the created activity object with.</param>
<paramname="startTime">The optional start timestamp to set on the created activity object.</param>
<returns>The created activity object, if it had active listeners, or <seelangword="null"/> if it has no event listeners.</returns>
<summary>the current instance and a specified object, which also must be an <seecref="T:System.Diagnostics.ActivitySpanId"/> instance, have the same value.</summary>
<paramname="obj">The object to compare.</param>
<returns>
<seelangword="true"/> if <paramrefname="obj"/> is an instance of <seecref="T:System.Diagnostics.ActivitySpanId"/> and has the same hex value as the current instance; otherwise, <seelangword="false"/>.</returns>
<summary>Determines whether two specified <seecref="T:System.Diagnostics.ActivitySpanId"/> instances have the same value.</summary>
<paramname="spanId1">The first instance to compare.</param>
<paramname="spandId2">The second instance to compare.</param>
<returns>
<seelangword="true"/> if the SpanId of <paramrefname="spanId1"/> is the same as the SpanId of <paramrefname="spandId2"/>; otherwise, <seelangword="false"/>.</returns>
<summary>Determine whether two specified <seecref="T:System.Diagnostics.ActivitySpanId"/> instances have unequal values.</summary>
<paramname="spanId1">The first instance to compare.</param>
<paramname="spandId2">The second instance to compare.</param>
<returns>
<seelangword="true"/> if the SpanId of <paramrefname="spanId1"/> is different from the SpanId of <paramrefname="spandId2"/>; otherwise, <seelangword="false"/>.</returns>
<summary>ActivityTagsCollection is a collection class used to store tracing tags.
This collection will be used with classes like <seecref="T:System.Diagnostics.ActivityEvent"/> and <seecref="T:System.Diagnostics.ActivityLink"/>.
This collection behaves as follows:
- The collection items will be ordered according to how they are added.
- Don't allow duplication of items with the same key.
- When using the indexer to store an item in the collection:
- If the item has a key that previously existed in the collection and the value is <seelangword="null"/>, the collection item matching the key will be removed from the collection.
- If the item has a key that previously existed in the collection and the value is not <seelangword="null"/>, the new item value will replace the old value stored in the collection.
- Otherwise, the item will be added to the collection.
- Add method will add a new item to the collection if an item doesn't already exist with the same key. Otherwise, it will throw an exception.</summary>
<summary>Determines whether the <seecref="T:System.Collections.Generic.ICollection`1"/> contains a specific value.</summary>
<paramname="item">The object to locate in the <seecref="T:System.Collections.Generic.ICollection`1"/>.</param>
<returns>
<seelangword="true"/> if <paramrefname="item"/> is found in the <seecref="T:System.Collections.Generic.ICollection`1"/>; otherwise, <seelangword="false"/>.</returns>
<summary>Removes the first occurrence of a specific item from the collection.</summary>
<paramname="item">The tag key value pair to remove.</param>
<returns>
<seelangword="true"/> if item was successfully removed from the collection; otherwise, <seelangword="false"/>. This method also returns <seelangword="false"/> if item is not found in the original collection.</returns>
<summary>Gets the value associated with the specified key.</summary>
<paramname="key">The tag key.</param>
<paramname="value">The tag value.</param>
<returns>When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.</returns>
<summary>Gets or sets a specified collection item.
When setting a value to this indexer property, the following behavior is observed:
- If the key previously existed in the collection and the value is <seelangword="null"/>, the collection item matching the key will get removed from the collection.
- If the key previously existed in the collection and the value is not <seelangword="null"/>, the value will replace the old value stored in the collection.
- Otherwise, a new item will get added to the collection.</summary>
<paramname="key">The key of the value to get or set.</param>
<returns>An <seecref="T:System.Collections.Generic.ICollection`1"/> containing the keys of the object that implements <seecref="T:System.Collections.Generic.IDictionary`2"/>.</returns>
<returns>An <seecref="T:System.Collections.Generic.ICollection`1"/> containing the values in the object that implements <seecref="T:System.Collections.Generic.IDictionary`2"/>.</returns>
<summary>Advances the enumerator to the next element of the collection.</summary>
<returns>
<seelangword="true"/> if the enumerator was successfully advanced to the next element; <seelangword="false"/> if the enumerator has passed the end of the collection.</returns>
<summary>Determines whether this instance and a specified object, which must also be an <seecref="T:System.Diagnostics.ActivityTraceId"/> instance, have the same value.</summary>
<paramname="obj">The object to compare.</param>
<returns>
<seelangword="true"/> if <paramrefname="obj"/> is an instance of <seecref="T:System.Diagnostics.ActivityTraceId"/> and has the same hex value as the current instance; otherwise, <seelangword="false"/>.</returns>
<summary>Determines whether two specified <seecref="T:System.Diagnostics.ActivityTraceId"/> instances have the same value.</summary>
<paramname="traceId1">The first instance to compare.</param>
<paramname="traceId2">The second instance to compare.</param>
<returns>
<seelangword="true"/> if the TraceId of <paramrefname="traceId1"/> is the same as the TraceId of <paramrefname="traceId2"/>; otherwise, <seelangword="false"/>.</returns>
<summary>Determines whether two specified <seecref="T:System.Diagnostics.ActivityTraceId"/> instances have the same value.</summary>
<paramname="traceId1">The first instance to compare.</param>
<paramname="traceId2">The second instance to compare.</param>
<returns>
<seelangword="true"/> if the TraceId of <paramrefname="traceId1"/> is different from the TraceId of <paramrefname="traceId2"/>; otherwise, <seelangword="false"/>.</returns>
<summary>Provides an implementation of the abstract <seecref="T:System.Diagnostics.DiagnosticSource"/> class that represents a named place to which a source sends its information (events).</summary>
<summary>Checks if any subscriber to the diagnostic events is interested in receiving events with this name. Subscribers indicate their interest using a delegate provided in <seecref="Overload:System.Diagnostics.DiagnosticListener.Subscribe"/>.</summary>
<paramname="name">The name of the event to check.</param>
<paramname="arg1">The object that represents a context.</param>
<paramname="arg2">The object that represents a context.</param>
<returns>
<seelangword="true"/> if it is enabled, <seelangword="false"/> otherwise.</returns>
<returns>A reference to an interface that allows the listener to stop receiving notifications before the <seecref="T:System.Diagnostics.DiagnosticSource"/> has finished sending them.</returns>
<summary>Adds a subscriber, and optionally filters events based on their name and up to two context objects.</summary>
<paramname="observer">A subscriber.</param>
<paramname="isEnabled">A delegate that filters events based on their name and up to two context objects (which can be <seelangword="null"/>), or <seelangword="null"/> to if an event filter is not desirable.</param>
<returns>A reference to an interface that allows the listener to stop receiving notifications before the <seecref="T:System.Diagnostics.DiagnosticSource"/> has finished sending them.</returns>
<summary>Adds a subscriber, optionally filters events based on their name and up to two context objects, and specifies methods to call when providers import or export activites from outside the process.</summary>
<paramname="observer">A subscriber.</param>
<paramname="isEnabled">A delegate that filters events based on their name and up to two context objects (which can be <seelangword="null"/>), or <seelangword="null"/> if an event filter is not desirable.</param>
<paramname="onActivityImport">An action delegate that receives the activity affected by an external event and an object that represents the incoming request.</param>
<paramname="onActivityExport">An action delegate that receives the activity affected by an external event and an object that represents the outgoing request.</param>
<returns>A reference to an interface that allows the listener to stop receiving notifications before the <seecref="T:System.Diagnostics.DiagnosticSource"/> has finished sending them.</returns>
<summary>Adds a subscriber, and optionally filters events based on their name.</summary>
<paramname="observer">A subscriber.</param>
<paramname="isEnabled">A delegate that filters events based on their name (<seecref="T:System.String"/>). The delegate should return <seelangword="true"/> if the event is enabled.</param>
<returns>A reference to an interface that allows the listener to stop receiving notifications before the <seecref="T:System.Diagnostics.DiagnosticSource"/> has finished sending them.</returns>
<summary>An abstract class that allows code to be instrumented for production-time logging of rich data payloads for consumption within the process that was instrumented.</summary>
<summary>Verifies it the notification event is enabled.</summary>
<paramname="name">The name of the event being written.</param>
<paramname="arg1">An object that represents the additional context for IsEnabled. Consumers should expect to receive <seelangword="null"/> which may indicate that producer called pure IsEnabled(string) to check if consumer wants to get notifications for such events at all. Based on that, producer may call IsEnabled(string, object, object) again with non-<seelangword="null"/> context.</param>
<paramname="arg2">Optional. An object that represents the additional context for IsEnabled. <seelangword="null"/> by default. Consumers should expect to receive <seelangword="null"/> which may indicate that producer called pure IsEnabled(string) or producer passed all necessary context in <paramrefname="arg1"/>.</param>
<returns>
<seelangword="true"/> if the notification event is enabled, <seelangword="false"/> otherwise.</returns>
<summary>Stops the given <seecref="T:System.Diagnostics.Activity"/>, maintains the global <seecref="P:System.Diagnostics.Activity.Current"/> activity, and notifies consumers that the <seecref="T:System.Diagnostics.Activity"/> was stopped.</summary>
<paramname="activity">The activity to be stopped.</param>
<paramname="args">An object that represents the value passed as a payload for the event.</param>
<summary>Provides a generic way of logging complex payloads.</summary>
<paramname="name">The name of the event being written.</param>
<paramname="value">An object that represents the value being passed as a payload for the event. This is often an anonymous type which contains several sub-values.</param>
<summary>An implementation of <seecref="T:System.Diagnostics.DistributedContextPropagator"/> determines if and how distributed context information is encoded and decoded as it traverses the network.
The encoding can be transported over any network protocol that supports string key-value pairs. For example, when using HTTP, each key-value pair is an HTTP header.
<seecref="T:System.Diagnostics.DistributedContextPropagator"/> injects values into and extracts values from carriers as string key-value pairs.</summary>
<summary>Initializes an instance of the <seecref="T:System.Diagnostics.DistributedContextPropagator"/> class. This constructor is protected and only meant to be called from parent classes.</summary>
<summary>Returns the default propagator object that <seecref="P:System.Diagnostics.DistributedContextPropagator.Current"/> will be initialized with.</summary>
<returns>An instance of the <seecref="T:System.Diagnostics.DistributedContextPropagator"/> class.</returns>
<summary>Returns a propagator that attempts to act transparently, emitting the same data on outbound network requests that was received on the inbound request.
When encoding the outbound message, this propagator uses information from the request's root Activity, ignoring any intermediate Activities that may have been created while processing the request.</summary>
<returns>An instance of the <seecref="T:System.Diagnostics.DistributedContextPropagator"/> class.</returns>
<summary>Extracts the baggage key-value pair list from an incoming request represented by the carrier. For example, from the headers of an HTTP request.</summary>
<paramname="carrier">The medium from which values will be read.</param>
<paramname="getter">The callback method to invoke to get the propagation baggage list from the carrier.</param>
<returns>Returns the extracted key-value pair list from the carrier.</returns>
<summary>Extracts the trace ID and trace state from an incoming request represented by the carrier. For example, from the headers of an HTTP request.</summary>
<paramname="carrier">The medium from which values will be read.</param>
<paramname="getter">The callback method to invoke to get the propagation trace ID and state from the carrier.</param>
<paramname="traceId">When this method returns, contains the trace ID extracted from the carrier.</param>
<paramname="traceState">When this method returns, contains the trace state extracted from the carrier.</param>
<summary>Injects the trace values stroed in the <seecref="T:System.Diagnostics.Activity"/> object into a carrier. For example, into the headers of an HTTP request.</summary>
<paramname="activity">The Activity object has the distributed context to inject to the carrier.</param>
<paramname="carrier">The medium in which the distributed context will be stored.</param>
<paramname="setter">The callback method to invoke to set a named key-value pair on the carrier.</param>
<summary>Represents the callback method that's used in the extract methods of propagators. The callback is invoked to look up the value of a named field.</summary>
<paramname="carrier">The medium used by propagators to read values from.</param>
<paramname="fieldName">The propagation field name.</param>
<paramname="fieldValue">When this method returns, contains the value that corresponds to <paramrefname="fieldName"/>. The value is non-<seelangword="null"/> if there is only one value for the input field name.</param>
<paramname="fieldValues">When this method returns, contains a collection of values that correspond to <paramrefname="fieldName"/>. The value is non-<seelangword="null"/> if there is more than one value for the input field name.</param>
<summary>Represents an instrument that supports adding non-negative values. For example, you might call <c>counter.Add(1)</c> each time a request is processed to track the total number of requests. Most metric viewers display counters using a rate (requests/sec), by default, but can also display a cumulative total.</summary>
<summary>Represents a metrics instrument that can be used to report arbitrary values that are likely to be statistically meaningful, for example, the request duration. Call <seecref="M:System.Diagnostics.Metrics.Meter.CreateHistogram``1(System.String,System.String,System.String)"/> to create a Histogram object.</summary>
<summary>Records a measurement by notifying all <seecref="T:System.Diagnostics.Metrics.MeterListener"/> objects that are listening to this instrument.</summary>
<summary>Records a measurement by notifying all <seecref="T:System.Diagnostics.Metrics.MeterListener"/> objects that are listening to this instrument.</summary>
<summary>Records a measurement by notifying all <seecref="T:System.Diagnostics.Metrics.MeterListener"/> objects that are listening to this instrument.</summary>
<summary>Records a measurement by notifying all <seecref="T:System.Diagnostics.Metrics.MeterListener"/> objects that are listening to this instrument.</summary>
<summary>Records a measurement by notifying all <seecref="T:System.Diagnostics.Metrics.MeterListener"/> objects that are listening to this instrument.</summary>
<summary>Records a measurement by notifying all <seecref="T:System.Diagnostics.Metrics.MeterListener"/> objects that are listening to this instrument.</summary>
<summary>Stores one observed metrics value and its associated tags. This type is used by an Observable instrument's Observe() method when reporting current measurements.</summary>
<paramname="tags">A span of key-value pair tags associated with the measurement.</param>
<paramname="state">The state object originally passed to <seecref="M:System.Diagnostics.Metrics.MeterListener.EnableMeasurementEvents(System.Diagnostics.Metrics.Instrument,System.Object)"/> method.</param>
<typeparamname="T">The type that the measurement represents.</typeparam>
</member>
<membername="T:System.Diagnostics.Metrics.Meter">
<summary>Meter is the class responsible for creating and tracking the Instruments.</summary>
<summary>Creates a Histogram, which is an instrument that can be used to report arbitrary values that are likely to be statistically meaningful. It is intended for statistics such as histograms, summaries, and percentiles.</summary>
<paramname="name">The instrument name. Cannot be <seelangword="null"/>.</param>
<summary>Creates an ObservableCounter, which is an instrument that reports monotonically increasing values when the instrument is being observed.</summary>
<paramname="observeValue">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/>.</param>
<paramname="unit">Optional instrument unit of measurements.</param>
<summary>Creates an ObservableCounter, which is an instrument that reports monotonically increasing values when the instrument is being observed.</summary>
<paramname="observeValues">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/>.</param>
<paramname="unit">Optional instrument unit of measurements.</param>
<summary>Creates an ObservableCounter, which is an instrument that reports monotonically increasing values when the instrument is being observed.</summary>
<paramname="observeValue">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/></param>
<paramname="unit">Optional instrument unit of measurements.</param>
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed.</summary>
<paramname="name">The instrument name. Cannot be <seelangword="null"/>.</param>
<paramname="observeValue">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/>.</param>
<paramname="unit">Optional instrument unit of measurements.</param>
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed.</summary>
<paramname="name">The instrument name. Cannot be <seelangword="null"/>.</param>
<paramname="observeValues">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/>.</param>
<paramname="unit">Optional instrument unit of measurements.</param>
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed.</summary>
<paramname="name">The instrument name. Cannot be <seelangword="null"/>.</param>
<paramname="observeValue">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/>.</param>
<paramname="unit">Optional instrument unit of measurements.</param>
<summary>Creates an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument that reports increasing or decreasing values when the instrument is being observed.</summary>
<paramname="name">The instrument name. Cannot be <seelangword="null"/>.</param>
<paramname="observeValue">The callback to call to get the measurements when the <seecref="M:System.Diagnostics.Metrics.ObservableInstrument`1.Observe"/> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/>.</param>
<paramname="unit">Optional instrument unit of measurements.</param>
<summary>Creates an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument that reports increasing or decreasing values when the instrument is being observed.</summary>
<paramname="name">The instrument name. Cannot be <seelangword="null"/>.</param>
<paramname="observeValues">The callback to call to get the measurements when the <seecref="M:System.Diagnostics.Metrics.ObservableInstrument`1.Observe"/> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/>.</param>
<paramname="unit">Optional instrument unit of measurements.</param>
<summary>Creates an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument that reports increasing or decreasing values when the instrument is being observed.</summary>
<paramname="name">The instrument name. Cannot be <seelangword="null"/>.</param>
<paramname="observeValue">The callback to call to get the measurements when the <seecref="M:System.Diagnostics.Metrics.ObservableInstrument`1.Observe"/> is called by <seecref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments"/></param>
<paramname="unit">Optional instrument unit of measurements.</param>
<paramname="instrument">The instrument to stop listening to.</param>
<returns>The state object originally passed to <seecref="M:System.Diagnostics.Metrics.MeterListener.EnableMeasurementEvents(System.Diagnostics.Metrics.Instrument,System.Object)"/> method.</returns>
<summary>Calls all Observable instruments that the listener is listening to, and calls <seecref="M:System.Diagnostics.Metrics.MeterListener.SetMeasurementEventCallback``1(System.Diagnostics.Metrics.MeasurementCallback{``0})"/> with every collected measurement.</summary>
<summary>Sets a callback for a specific numeric type to get the measurement recording notification from all instruments which enabled listening and was created with the same specified numeric type.
If a measurement of type T is recorded and a callback of type T is registered, that callback will be used.</summary>
<paramname="measurementCallback">The callback which can be used to get measurement recording of numeric type T.</param>
<typeparamname="T">The type of the numeric measurement.</typeparam>
<summary>Gets or sets the callback to get notified when the measurement is stopped on some instrument.
This can happen when the Meter or the Listener is disposed or calling <seecref="M:System.Diagnostics.Metrics.MeterListener.Dispose"/> on the listener.</summary>
<returns>The callback to get notified when the measurement is stopped on some instrument.</returns>
<summary>Represents a metrics-observable instrument that reports monotonically increasing values when the instrument is being observed, for example, CPU time (for different processes, threads, user mode, or kernel mode). Call <seecref="Overload:System.Diagnostics.Metrics.Meter.CreateObservableCounter"/> to create the observable counter object.</summary>
<summary>Represents an observable instrument that reports non-additive values when the instrument is being observed, for example, the current room temperature. Call <seecref="Overload:System.Diagnostics.Metrics.Meter.CreateObservableGauge"/> to create the observable counter object.</summary>
<summary>Initializes a new instance of the <seecref="T:System.Diagnostics.Metrics.ObservableInstrument`1"/> class using the specified meter, name, description, and unit.
All classes that extend ObservableInstrument{T} must call this constructor when constructing objects of the extended class.</summary>
<summary>Fetches the current measurements being tracked by this instrument. All classes extending ObservableInstrument{T} need to implement this method.</summary>
<returns>The current measurements tracked by this instrument.</returns>
<summary>A metrics-observable instrument that reports increasing or decreasing values when the instrument is being observed.
Use this instrument to monitor the process heap size or the approximate number of items in a lock-free circular buffer, for example.
To create an ObservableUpDownCounter object, use the <seecref="Overload:System.Diagnostics.Metrics.Meter.CreateObservableUpDownCounter"/> methods.</summary>
<typeparamname="T">The type that the counter represents.</typeparam>
<summary>A delegate that defines the signature of the <seecref="T:System.Diagnostics.ActivityListener"/> callbacks used in the sampling process.</summary>
<paramname="options">The Activity creation options used by <seecref="T:System.Diagnostics.ActivityListener"/> callbacks to decide creating the Activity object or not.</param>
<typeparamname="T">The type of the requested parent to create the Activity object with. Should be either a string or an <seecref="T:System.Diagnostics.ActivityContext"/> instance.</typeparam>
<returns>An object containing the sampling results, which indicate the amount of data to collect for the related <seecref="T:System.Diagnostics.Activity"/>.</returns>
</member>
<membername="T:System.Diagnostics.TagList">
<summary>Represents a list of tags that can be accessed by index. Provides methods to search, sort, and manipulate lists.</summary>
<summary>Copies the entire <seecref="T:System.Diagnostics.TagList"/> to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
<paramname="array">The one-dimensional Array that is the destination of the elements copied from <seecref="T:System.Diagnostics.TagList"/>. The Array must have zero-based indexing.</param>
<paramname="arrayIndex">The zero-based index in <paramrefname="array"/> at which copying begins.</param>
<exceptioncref="T:System.ArgumentNullException">
<paramrefname="array"/> is <seelangword="null"/>.</exception>
The number of elements in the source <seecref="T:System.Diagnostics.TagList"/> is greater than the number of elements that the destination span.</exception>
<summary>Searches for the specified tag and returns the zero-based index of the first occurrence within the entire <seecref="T:System.Diagnostics.TagList"/>.</summary>
<paramname="item">The tag to locate in the <seecref="T:System.Diagnostics.TagList"/>.</param>
<returns>The zero-based index of the first ocurrence of <paramrefname="item"/> in the tag list.</returns>
<summary>Removes the first occurrence of a specific object from the <seecref="T:System.Diagnostics.TagList"/>.</summary>
<paramname="item">The tag to remove from the <seecref="T:System.Diagnostics.TagList"/>.</param>
<returns>
<seelangword="true"/> if <paramrefname="item"/> is successfully removed; otherwise, <seelangword="false"/>. This method also returns <seelangword="false"/> if <paramrefname="item"/> was not found in the <seecref="T:System.Diagnostics.TagList"/>.</returns>
<summary>Gets a value indicating whether the <seecref="T:System.Diagnostics.TagList"/> is read-only. This property will always return <seelangword="false"/>.</summary>
<summary>Advances the enumerator to the next element of the collection.</summary>
<returns>
<seelangword="true"/> if the enumerator was successfully advanced to the next element; <seelangword="false"/> if the enumerator has passed the end of the collection.</returns>