Canceling an operation stops the operation from being carried out. You may need to cancel an operation when attempting to prevent authors from:
Creating two or more postings of the same name in the channel
Deleting postings
Modifying certain properties with certain values (or at all)
Carrying out just about any operation
You can cancel an operation from within the pre-event handler of this operation simply by adding the following line of code:
e.Cancel = true;
When a channel has two or more postings with the same name, you can access only one of them using hierarchical URLs. For example, if you have three postings by the name of EggPlant
in the Plant Catalog channel, entering http://localhost/tropicalgreen/plantcatalog/
EggPlant.htm
fetches only one of the three postings. There is no way you can view the other three postings unless you know their Unique-ID-based URLs.
To prevent such situations from happening, you...