ActivityLink Struct
Definition
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
Constructors
ActivityLink(ActivityContext, ActivityTagsCollection) |
Constructs a new activity link, which can be linked to an activity. |
Properties
Context |
Retrieves the activity context inside this activity link. |
Tags |
Retrieves the key-value pair enumeration of tags attached to the activity context. |
Methods
EnumerateTagObjects() |
Enumerate the tags attached to this ActivityLink object. |
Equals(ActivityLink) |
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. |
GetHashCode() |
Provides a hash function for the current |
Operators
Equality(ActivityLink, ActivityLink) |
Determines whether two specified |
Inequality(ActivityLink, ActivityLink) |
Determines whether two specified |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기