Results 1 to 2 of 2

Thread: Anyone using Exception Management App Blocks from Microsoft? (Urgent)

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    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

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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
  •  



Click Here to Expand Forum to Full Width