'Declaration
Public Overloads Shared Function Create( _ ByVal action As NotifyCollectionChangedAction, _ ByVal newItem As Object, _ ByVal oldItem As Object, _ ByVal index As Integer, _ ByVal cancellationToken As CancellationToken _ ) As NotifyCollectionChangedDeferralsAwaiter
public static NotifyCollectionChangedDeferralsAwaiter Create( NotifyCollectionChangedAction action, object newItem, object oldItem, int index, CancellationToken cancellationToken )
Parameters
- action
- The action that caused the event. This can be set to System.Collections.Specialized.NotifyCollectionChangedAction.Replace.
- newItem
- The new item that is replacing the original item.
- oldItem
- The original item that is replaced.
- index
- The index of the item being replaced.
- cancellationToken
- The cancellation token.