Occurs when new resources are inserted into the ResourceBaseCollection collection.
public event PersistentObjectsEventHandler ResourcesInserted
Public Event ResourcesInserted As PersistentObjectsEventHandler
The ResourcesInserted event handler receives an argument of the PersistentObjectsEventArgs type. The following properties provide information specific to this event.
|Objects||Gets the persistent objects for which the event occurs.|
The ResourcesInserted event serves as a notification that resources have been added to the collection. The event parameter's PersistentObjectsEventArgs.Objects property allows you to get the resources which have been added.
To specify whether a resource can be added, handle the SchedulerStorageBase.ResourceInserting event.