IReliableDictionary<TKey,TValue>.RebuildNotificationAsyncCallback Eigenschaft

Definition

Eine Funktion, die aufgerufen wird, wenn das Reliable Dictionary während des Kopierens, Wiederherstellens oder Wiederherstellungsvorgangs neu erstellt wird.

public Func<Microsoft.ServiceFabric.Data.Collections.IReliableDictionary<TKey,TValue>,Microsoft.ServiceFabric.Data.Notifications.NotifyDictionaryRebuildEventArgs<TKey,TValue>,System.Threading.Tasks.Task> RebuildNotificationAsyncCallback { set; }
member this.RebuildNotificationAsyncCallback : Func<Microsoft.ServiceFabric.Data.Collections.IReliableDictionary<'Key, 'Value>, Microsoft.ServiceFabric.Data.Notifications.NotifyDictionaryRebuildEventArgs<'Key, 'Value>, System.Threading.Tasks.Task>
Public Property RebuildNotificationAsyncCallback As Func(Of IReliableDictionary(Of TKey, TValue), NotifyDictionaryRebuildEventArgs(Of TKey, TValue), Task)

Eigenschaftswert

Die asynchrone Neuerstellungsbenachrichtigungsfunktion. Die Funktion übernimmt das Token IReliableDictionary und NotifyDictionaryRebuildEventArgs und gibt einen Task zurück, der die asynchrone Verarbeitung der Neuerstellungsbenachrichtigung darstellt.

Hinweise

NotifyDictionaryChangedEventArgs<TKey,TValue> kann nur innerhalb dieses Rückrufs verwendet werden. Sobald der asynchrone Rückruf abgeschlossen ist, wird der NotifyDictionaryRebuildEventArgs<TKey,TValue> ungültig. Weitere Informationen finden Sie hier .

Gilt für: