IReliableDictionary<TKey,TValue>.RebuildNotificationAsyncCallback Property

Definition

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

Func<IReliableDictionary<TKey,TValue>,NotifyDictionaryRebuildEventArgs<TKey,TValue>,Task>

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.

Applies to