Activity.TraceStateString Property
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.
Gets or sets the W3C tracestate
header.
public:
property System::String ^ TraceStateString { System::String ^ get(); void set(System::String ^ value); };
public string? TraceStateString { get; set; }
public string TraceStateString { get; set; }
member this.TraceStateString : string with get, set
Public Property TraceStateString As String
Property Value
The W3C tracestate
header.
Remarks
The tracestate
header is intended to carry supplemental information to trace identity contained in the trace parent. tracestate
consists of a list of key/value pairs that convey information about the request position in multiple distributed tracing graphs. This information is typically used by distributed tracing systems and should not be used for general purpose baggage, since this may break the correlation of a distributed trace.
Logically TraceStateString
is just a kind of baggage (if flows just like baggage), but because it is expected to be special-cased (it has its own HTTP header), it is more convenient/efficient if it is not lumped in with other baggage.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기