DistributedContextPropagator.PropagatorSetterCallback 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 propagators' inject methods. This callback is invoked to set the value of a named field. Propagators may invoke it multiple times in order to set multiple fields.
public: delegate void DistributedContextPropagator::PropagatorSetterCallback(System::Object ^ carrier, System::String ^ fieldName, System::String ^ fieldValue);
public delegate void DistributedContextPropagator.PropagatorSetterCallback(object? carrier, string fieldName, string fieldValue);
type DistributedContextPropagator.PropagatorSetterCallback = delegate of obj * string * string -> unit
Public Delegate Sub DistributedContextPropagator.PropagatorSetterCallback(carrier As Object, fieldName As String, fieldValue As String)
Parameters
- carrier
- Object
The medium used by propagators to write values to.
- fieldName
- String
The propagation field name.
- fieldValue
- String
The value corresponding to fieldName
.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈