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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา