HighTechTalks DotNet Forums  

SecureMethodAttribute and Custom Exception Problem

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss SecureMethodAttribute and Custom Exception Problem in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bob
 
Posts: n/a

Default SecureMethodAttribute and Custom Exception Problem - 11-24-2005 , 10:39 AM






Hi,

I have been following "Bob DeRemer's" excellent article on "Throwing Custom
Exception Types from a Managed COM+ Server Application" and able to receive
the custom exception I threw in my COM+ ES component.

However, as soon as I include the SecureMethodAttribute() following advice
from
http://pluralsight.com/wiki/default....dCOMApp.h tml,

I stopped receiving the Custom Exception. Instead the exception I received
is of Exception type.

If I throw ArgumentException, I am fine. I am using Framework 2 with VS2005.

Can someone help to explain why this is so?

Bob



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.