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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈