home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / XML Utilities / XML Quik Builder1.5 / XML Quik Builder1.5.msi / Cabs.w1.cab / XMLQuikBuilder.exe.config12 < prev    next >
Encoding:
Extensible Markup Language  |  2002-06-26  |  2.3 KB  |  46 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8" ?>
  2. <!--
  3.     HOW TO USE THIS CONFIGURATION FILE
  4.     
  5.     Uncomment ONE of the <exceptionManagement> elements below to 
  6.     test that particular scenario.
  7.     
  8.     Without any configuration settings, ExceptionManager will publish using 
  9.     the Default publisher.
  10.     
  11.     When setting logname and application name explicitly, please refer to the Deployment Guide for more information.
  12.     
  13.     Publisher Elements Quick Reference:
  14.     
  15.     -mode. If omitted, this attribute defaults to "on". Explicitly setting this attribute to "off" disables the publisher.
  16.  
  17.     -assembly. The name of the assembly containing the publisher class. This is used to instantiate the publisher, 
  18.         and is therefore a mandatory attribute.
  19.  
  20.     -type. This is the type name of the publisher class, and is used together with the assembly attribute to instantiate 
  21.         the publisher. This attribute is mandatory.
  22.  
  23.     -exclude. This attribute is used to specify a semicolon delimited list of exception types that should not be published 
  24.         by this publisher. You can use the asterisk (*) wildcard character to exclude all exception types. 
  25.         Only the type of the outermost exception is evaluated.
  26.  
  27.     -include. This attribute is used to force a particular exception type to be published, even if the exclude attribute 
  28.         is set to *.
  29.  
  30.     -exceptionFormat. If this attribute is set to xml, then the exception is streamed to XML, and published using the publisherΓÇÖs 
  31.         IExceptionXmlPublisher interface. Otherwise, the exception is published using the publisher's IExceptionPublisher interface.
  32.  
  33.     -Other custom attributes. You can add your own custom attributes, which are passed to your custom publishers by the 
  34.         ExceptionManager class. This allows developers to write custom logic in the publisher to examine these attributes and take appropriate action.
  35.  
  36.         
  37. -->
  38. <configuration>
  39.     <configSections>
  40.         <section name="exceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,Microsoft.ApplicationBlocks.ExceptionManagement" />
  41.     </configSections>
  42.     <exceptionManagement mode="on">
  43.         <publisher assembly="XMLQuikBuilder" type="XMLQuikBuilder.NBGExceptionPublisher" exclude="System.Xml.XPath.XPathException" include="*" exceptionFormat="xml" fileName="DebugLog.xml" />
  44.     </exceptionManagement>
  45. </configuration>
  46.