DistributedContextPropagator.ExtractBaggage 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.
Extracts the baggage key-value pair list from an incoming request represented by the carrier. For example, from the headers of an HTTP request.
public:
abstract System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ ExtractBaggage(System::Object ^ carrier, System::Diagnostics::DistributedContextPropagator::PropagatorGetterCallback ^ getter);
public abstract System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>>? ExtractBaggage (object? carrier, System.Diagnostics.DistributedContextPropagator.PropagatorGetterCallback? getter);
abstract member ExtractBaggage : obj * System.Diagnostics.DistributedContextPropagator.PropagatorGetterCallback -> seq<System.Collections.Generic.KeyValuePair<string, string>>
Public MustOverride Function ExtractBaggage (carrier As Object, getter As DistributedContextPropagator.PropagatorGetterCallback) As IEnumerable(Of KeyValuePair(Of String, String))
Parameters
- carrier
- Object
The medium from which values will be read.
The callback method to invoke to get the propagation baggage list from the carrier.
Returns
Returns the extracted key-value pair list from the carrier.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.