แก้ไข

แชร์ผ่าน


DistributedContextPropagator.PropagatorGetterCallback Delegate

Definition

Represents the callback method that's used in the extract methods of propagators. The callback is invoked to look up the value of a named field.

public: delegate void DistributedContextPropagator::PropagatorGetterCallback(System::Object ^ carrier, System::String ^ fieldName, [Runtime::InteropServices::Out] System::String ^ % fieldValue, [Runtime::InteropServices::Out] IEnumerable<System::String ^> ^ % fieldValues);
public delegate void DistributedContextPropagator.PropagatorGetterCallback(object? carrier, string fieldName, out string? fieldValue, out IEnumerable<string>? fieldValues);
type DistributedContextPropagator.PropagatorGetterCallback = delegate of obj * string * string * seq -> unit
Public Delegate Sub DistributedContextPropagator.PropagatorGetterCallback(carrier As Object, fieldName As String, ByRef fieldValue As String, ByRef fieldValues As IEnumerable(Of String))

Parameters

carrier
Object

The medium used by propagators to read values from.

fieldName
String

The propagation field name.

fieldValue
String

When this method returns, contains the value that corresponds to fieldName. The value is non-null if there is only one value for the input field name.

fieldValues
IEnumerable<String>

When this method returns, contains a collection of values that correspond to fieldName. The value is non-null if there is more than one value for the input field name.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to