Redigera

Dela via


CorrelationCallbackMessageProperty.AddData(String, Func<String>) Method

Definition

Adds required correlation data to the property.

public:
 void AddData(System::String ^ name, Func<System::String ^> ^ value);
public void AddData (string name, Func<string> value);
member this.AddData : string * Func<string> -> unit
Public Sub AddData (name As String, value As Func(Of String))

Parameters

name
String

The name of the correlation data value.

value
Func<String>

Provides the value of the correlation data.

Remarks

When required correlation data is added, it is removed from the NeededData list. When all required data has been added, the NeededData list is empty and IsFullyDefined returns true.

Applies to