IReliableDictionary<TKey,TValue>.RebuildNotificationAsyncCallback Propriété

Définition

Fonction appelée lorsque le dictionnaire fiable est en cours de reconstruction pendant la copie, la restauration ou la récupération.

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)

Valeur de propriété

Fonction de notification de reconstruction asynchrone. La fonction accepte les jetons I ReliableDictionary et NotifyDictionaryRebuildEventArgs et retourne une tâche qui représente le traitement asynchrone de la notification de reconstruction.

Remarques

NotifyDictionaryChangedEventArgs<TKey,TValue> ne peut être utilisé que dans ce rappel. Une fois le rappel asynchrone terminé, le NotifyDictionaryRebuildEventArgs<TKey,TValue> devient non valide. Pour plus d’informations, consultez cet article .

S’applique à