ActivityContext 구조체
정의
W3C TraceContext 사양을 준수하는 표현입니다.A representation that conforms to the W3C TraceContext specification. 여기에는 일반적인 TraceFlags 및 시스템 관련 TraceState 값의 집합과 함께 두 가지 식별자 TraceId 및 SpanId가 포함됩니다.It contains two identifiers: a TraceId and a SpanId, along with a set of common TraceFlags and system-specific TraceState values.
public value class ActivityContext : IEquatable<System::Diagnostics::ActivityContext>
public struct ActivityContext : IEquatable<System.Diagnostics.ActivityContext>
type ActivityContext = struct
Public Structure ActivityContext
Implements IEquatable(Of ActivityContext)
- 상속
- 구현
설명
ActivityContext에 IsRemote
W3C의 일부가 아닌 속성이 포함 되어 있습니다.ActivityContext contains the property IsRemote
, which is not part of W3C. IsRemote
컨텍스트가 원격 부모에서 전파 되는지 여부를 나타내는입니다.IsRemote
is indicating if the context is propagated from a remote parent.
생성자
ActivityContext(ActivityTraceId, ActivitySpanId, ActivityTraceFlags, String, Boolean) |
지정된 인수를 사용하여 새 활동 컨텍스트 인스턴스를 생성합니다.Construct a new activity context instance using the specified arguments. |
속성
IsRemote |
활동 컨텍스트가 원격 부모에서 전파되었는지 여부를 나타냅니다.Indicates if the activity context was propagated from a remote parent. |
SpanId |
호출자가 알고 있는 요청의 ID입니다.The Id of the request as known by the caller. |
TraceFlags |
W3C 표준에서 활동의 ID와 함께 정의된 플래그입니다.The flags defined by the W3C standard along with the ID for the activity. |
TraceId |
추적 식별자입니다.The trace identifier. |
TraceState |
W3C 'tracestate' 헤더를 보관합니다.Holds the W3C 'tracestate' header. |
메서드
Equals(ActivityContext) |
현재 개체가 동일한 형식의 다른 개체와 같은지 여부를 나타냅니다.Indicates whether the current object is equal to another object of the same type. |
Equals(Object) |
이 인스턴스와 지정된 |
GetHashCode() |
해시 알고리즘과 데이터 구조(예: 해시 테이블)에 적합한 현재 |
Parse(String, String) |
W3C 추적 컨텍스트 헤더를 ActivityContext 개체로 구문 분석합니다.Parses a W3C trace context headers to an ActivityContext object. |
TryParse(String, String, ActivityContext) |
W3C 추적 컨텍스트 헤더를 ActivityContext 개체로 구문 분석하려고 합니다.Tries to parse the W3C trace context headers to an ActivityContext object. |
연산자
Equality(ActivityContext, ActivityContext) |
지정된 두 |
Inequality(ActivityContext, ActivityContext) |
지정된 두 |