'Declaration
Public Overloads Shared Function Create( _ ByVal action As NotifyCollectionChangedAction, _ ByVal changedItem As Object, _ ByVal index As Integer, _ ByVal cancellationToken As CancellationToken _ ) As NotifyCollectionChangedDeferralsAwaiter
public static NotifyCollectionChangedDeferralsAwaiter Create( NotifyCollectionChangedAction action, object? changedItem, int index, CancellationToken cancellationToken )
Parameters
- action
- The action that caused the event. This can be set to System.Collections.Specialized.NotifyCollectionChangedAction.Reset, System.Collections.Specialized.NotifyCollectionChangedAction.Add, or System.Collections.Specialized.NotifyCollectionChangedAction.Remove.
- changedItem
- The item that is affected by the change.
- index
- The index where the change occurred.
- cancellationToken
- The cancellation token.