Perhaps I misunderstood your question then. I suppose as a blanket answer,
I could say that you can use the System.Reflection namespace to find out
just about anything you want to know about a managed assembly.
> No, sorry, I'm asking about anything built into VS.NET.
>
[quoted text clipped - 5 lines]
> >> Is there a VS.NET way to know what exceptions a class is capable of
> >> throwing?
Thanks, but no. I'm asking if there is a function of VS.NET that can give
me this information. I understand that I can use programmatic syntax using
reflection to get this information, but I want to know if there is something
in the IDE that can provide me with a list of the exceptions that a class is
capable of throwing.
> Perhaps I misunderstood your question then. I suppose as a blanket
> answer,
[quoted text clipped - 10 lines]
>> >> Is there a VS.NET way to know what exceptions a class is capable of
>> >> throwing?
Stephany Young - 28 Apr 2005 04:40 GMT
What you are really being told is no.
You have to understand that exceptions are thrown in code. To find them you
have to dissect the code.
If you do not want to write a dissector (using reflection) yourself, then
you will need to use a dissector that someone has written.
> Thanks, but no. I'm asking if there is a function of VS.NET that can give
> me this information. I understand that I can use programmatic syntax
[quoted text clipped - 16 lines]
>>> >> Is there a VS.NET way to know what exceptions a class is capable of
>>> >> throwing?
Scott M. - 29 Apr 2005 15:38 GMT
I do understand what you have said. I simply wanted to know if VS.NET had
such a "dissector" available as an IDE feature that perhaps I hadn't
stumbled across.
> What you are really being told is no.
>
[quoted text clipped - 24 lines]
>>>> >> Is there a VS.NET way to know what exceptions a class is capable of
>>>> >> throwing?