DistributedContextPropagator.PropagatorGetterCallback Delegate
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om