OpenTelemetryScope.AddBaggage(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.
Adds baggage to the current activity for distributed tracing context propagation.
protected void AddBaggage(string key, string value);
member this.AddBaggage : string * string -> unit
Protected Sub AddBaggage (key As String, value As String)
Parameters
- key
- String
The baggage key.
- value
- String
The baggage value.