ActivityLink Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public value class ActivityLink : IEquatable<System::Diagnostics::ActivityLink>
public readonly struct ActivityLink : IEquatable<System.Diagnostics.ActivityLink>
type ActivityLink = struct
Public Structure ActivityLink
Implements IEquatable(Of ActivityLink)
- Inheritance
- Implements
Activity |
Constructs a new activity link, which can be linked to an activity. |
Context |
Retrieves the activity context inside this activity link. |
Tags |
Retrieves the key-value pair enumeration of tags attached to the activity context. |
Enumerate |
Enumerate the tags attached to this ActivityLink object. |
Equals(Activity |
Indicates whether the current activity link is equal to another activity link. |
Equals(Object) |
Indicates whether the current activity link is equal to another object. |
Get |
Provides a hash function for the current |
Equality(Activity |
Determines whether two specified |
Inequality(Activity |
Determines whether two specified |
Prodotto | Versioni |
---|---|
.NET | 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9 |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: