ActivityContext.Parse(String, String) Method
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.
Parses a W3C trace context headers to an ActivityContext object.
public:
static System::Diagnostics::ActivityContext Parse(System::String ^ traceParent, System::String ^ traceState);
public static System.Diagnostics.ActivityContext Parse (string traceParent, string? traceState);
static member Parse : string * string -> System.Diagnostics.ActivityContext
Public Shared Function Parse (traceParent As String, traceState As String) As ActivityContext
Parameters
- traceParent
- String
The W3C trace parent header.
- traceState
- String
The trace state.
Returns
The ActivityContext object created from the parsing operation.
Exceptions
The trace parent is invalid.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.