IReliableDictionary<TKey,TValue>.RebuildNotificationAsyncCallback Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A function that is called when the Reliable Dictionary is being rebuilt during copy, restore or recovery.
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)
Property Value
The asynchronous rebuild notification function. Function takes in IReliableDictionary and NotifyDictionaryRebuildEventArgs token and returns a Task that represents the asynchronous processing of the rebuild notification.
Remarks
NotifyDictionaryChangedEventArgs<TKey,TValue> can only be used within this callback. Once the asynchronous callback completes, the NotifyDictionaryRebuildEventArgs<TKey,TValue> becomes invalid. See here for more information.