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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應