แก้ไข

แชร์ผ่าน


DistributedContextPropagator.PropagatorSetterCallback Delegate

Definition

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