Udostępnij za pośrednictwem


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 .

TValue

The type of the values in the .

Inheritance
NotifyDictionaryRebuildEventArgs<TKey,TValue>

Remarks

Note that until this operation completes, rebuild of the 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

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 .

Applies to