|
-
Jan 2nd, 2004, 02:46 PM
#1
Thread Starter
Hyperactive Member
using "Exception managment" block
I am writing a simple code using exception management block.In the documentation it says in the app config file you can set the if the exception mangement block to be turned "on" or "off".
so I incorporated the changes as shown below to the app.config file (in my solution named "WindowsApplication1"). though i set it to "off", the exception managment block gets invoked.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configsections>
<section name="exceptionmanagement" type="microsoft.applicationblocks.exceptionmanagement.exceptionmanagersectionhandler, microsoft.applicationblocks.exceptionmanagement" />
</configsections>
<exceptionManagement mode="off" >
<publisher assembly="Microsoft.Applicationblocks.ExceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher" logname="MycustomLog" applicationname="My EMABTest App" />
</exceptionManagement>
</configuration>
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
|