DistributedContextPropagator.ExtractBaggage Método

Definição

Extrai a lista de pares chave-valor de bagagem de um pedido recebido representado pelo transportador. Por exemplo, a partir dos cabeçalhos de um pedido HTTP.

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))

Parâmetros

carrier
Object

O meio a partir do qual os valores serão lidos.

getter
DistributedContextPropagator.PropagatorGetterCallback

O método de chamada de retorno para invocar obter a lista de bagagem de propagação do transportador.

Devoluções

Devolve a lista de pares chave-valor extraída da operadora.

Aplica-se a