Edit

Bagikan melalui


CorrelationDataMessageProperty.Add(String, Func<String>) Method

Definition

Adds a correlation data provider to the property's private dictionary of providers.

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

Parameters

name
String

The name of the correlation data provider.

dataProvider
Func<String>

The correlation data provider.

Applies to