home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / ReadMe_xml_5________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Extensible Markup Language  |  2002-06-20  |  2.6 KB  |  62 lines

  1. <?xml version='1.0'?>
  2. <?xml-stylesheet type="text/xsl" href="..\..\readme.xsl"?>
  3.  
  4. <sample>
  5. <title>Exceptions Sample</title>
  6. <title-short>Exceptions</title-short>
  7. <overview>
  8.    This sample demonstrates the use of structured exception handling in various programming languages. In addition to throwing and catching exceptions, this sample also shows how to install an unhandled exception handler which is called when an exception goes "un-caught".
  9. </overview>
  10. <subdirectory>Technologies\Exceptions</subdirectory>
  11. <buildsteps>
  12.    <step>
  13.       Type <b>BUILD.bat</b> from the command line.
  14.       <example>
  15.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\Exceptions\VB>Build.bat
  16.       </example>
  17.    </step>
  18. </buildsteps>
  19. <runsteps>
  20.    <step>
  21.       Type <b>Except.exe</b> from the command line.
  22.       <example>
  23.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\Exceptions\VB>Except.exe
  24.       </example>
  25.    </step>   
  26. </runsteps>
  27. <technologies>
  28.    <technology name = "Exceptions" keyword="T">
  29.       <class name = "ApplicationException" keyword="T">
  30.       The sample uses the ApplicationException type as the base type for its custom exception. Custom exceptions in your applications should be derived from ApplicationException.
  31.       </class>
  32.       <class name = "Exception" keyword="T">
  33.       The base of all exception classes, this class is used by the sample to catch any exception and display information about the exception.  
  34.       </class>                  
  35.    </technology>     
  36.    <technology name = "Threading" keyword="T">
  37.       <class name = "Thread" keyword="T">
  38.       This class is used to get the AppDomain for the sample.
  39.       </class>                      
  40.    </technology>
  41.    <technology name = "Reflection" keyword="T">
  42.       <class name = "AppDomain" keyword="T">
  43.       This class is used by the sample to set the unhandled exception handler event.
  44.       </class>                      
  45.    </technology>
  46.    <technology name = "Events and Delegates" keyword="T">
  47.       <class name = "UnhandledExceptionEventHandler" keyword="T">
  48.       The delegate type for setting a function to be called when an exception goes unhandled.
  49.       </class>                            
  50.    </technology>
  51.    <technology name = "Windows Forms" keyword="T">
  52.       <class name = "MessageBox" keyword="T">
  53.       The sample uses this type to display a simple message box in the unhandled exception handler.
  54.       </class>                            
  55.    </technology>
  56. </technologies>
  57. <keywords>
  58.    <word name="Error Handling" keyword="T"/>      
  59. </keywords>
  60. </sample>
  61.  
  62.