Share via


NotifyDictionaryRebuildEventArgs<TKey,TValue> Class

Definition

Provides data for the RebuildNotificationAsyncCallback event caused by a rebuild operation. Rebuild notification is fired at the end of recovery, copy or restore of reliable state.

public class NotifyDictionaryRebuildEventArgs<TKey,TValue> : Microsoft.ServiceFabric.Data.Notifications.NotifyDictionaryChangedEventArgs<TKey,TValue>
type NotifyDictionaryRebuildEventArgs<'Key, 'Value> = class
    inherit NotifyDictionaryChangedEventArgs<'Key, 'Value>
Public Class NotifyDictionaryRebuildEventArgs(Of TKey, TValue)
Inherits NotifyDictionaryChangedEventArgs(Of TKey, TValue)

Type Parameters

TKey

The type of the keys in the <cref name="IReliableDictionary"></cref>.

TValue

The type of the values in the <cref name="IReliableDictionary"></cref>.

Inheritance
NotifyDictionaryRebuildEventArgs<TKey,TValue>

Remarks

Note that until this operation completes, rebuild of the <cref name="IReliableDictionary"></cref> will not complete. This can cause the replica to be blocked waiting for the callback to complete before proceeding. Asynchronous iteration over the state may require IO.

Constructors

NotifyDictionaryRebuildEventArgs<TKey,TValue>(IAsyncEnumerable<KeyValuePair<TKey,TValue>>)

Initializes a new instance of the <cref name="NotifyDictionaryRebuildEventArgs"></cref>

Properties

Action

Gets the action that caused the event.

(Inherited from NotifyDictionaryChangedEventArgs<TKey,TValue>)
State

Gets an asynchronous enumerable that contains all items in the <cref name="IReliableDictionary"></cref>.

Applies to