|
-
Jan 19th, 2004, 07:25 AM
#1
Thread Starter
Frenzied Member
Anyone using Exception Management App Blocks from Microsoft? (Urgent)
I recently started a project where we needed a high standard for handling exceptins, we needed a generic way so that all developers could handle errors the same way. I figured it was best to use existing technologies, so I started to look at the Microsoft way "Exception Management Application Block".
But I found the documentation very thin... and right now I have a few questions someone could perhaps answer?
1)How can I change the "source" name if I ONLY want my app to write to the eventlog? I want the SOURCE to be unique for my application! Not the default "ExceptionManagerInternalException"
2)What if I also want to log all exceptions to a file as well? What steps must I take then? Do I have to make a separate shared class called LogMail.Publish(ex), or can I make the default "ExceptionManager" class perform both things, eventlog and textfile?
I know the docs talk a lot about a custom publishers... what are they???
kind regards
Henrik
-
Jan 19th, 2004, 10:09 AM
#2
PowerPoster
1. Do a search on the project for the name "ExceptionManagerInternalException". You may find your answer.
2. The documents thoroughly discuss this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|