'Declaration Public Overloads Shared Function Create( _ ByVal action As NotifyCollectionChangedAction, _ ByVal newItems As IList, _ ByVal oldItems As IList, _ ByVal startingIndex As Integer, _ ByVal cancellationToken As CancellationToken _ ) As NotifyCollectionChangedDeferralsAwaiter
public static NotifyCollectionChangedDeferralsAwaiter Create( NotifyCollectionChangedAction action, IList newItems, IList oldItems, int startingIndex, CancellationToken cancellationToken )
Parameters
- action
- The action that caused the event. This can only be set to System.Collections.Specialized.NotifyCollectionChangedAction.Replace.
- newItems
- The new items that are replacing the original items.
- oldItems
- The original items that are replaced.
- startingIndex
- The index of the first item of the items that are being replaced.
- cancellationToken
- The cancellation token.