Michel what I do is raise an exception that I catch on the caller class.
>I have a class which contains a New() event. On the object, I also have a New() event which contains as the first line the MyBase() code to call the default New() event. However, in the New() event of the object, on a particular situation, I need to avoid the creation of the object. Basically, on a specific condition, I need to redirect to another page and stop the execution of the New() event. How can one accomplish this?
Alexandre Palma
Senior Application Architect