Parameters
- action
- The DataSourceChangedAction that caused the data source to change.
- newItems
- The new items involved in the change
- oldItems
- The list of items affected by the change
Exception | Description |
---|---|
System.ArgumentException | newItems must be specified when the Add action is specified. |
System.ArgumentException | oldItems must be specified when the Remove action is specified. |
System.ArgumentException | newItems must be specified when the Replace action is specified. |
System.ArgumentException | oldItems must be specified when the Replace action is specified. |
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2