The Labs \ Source Viewer \ SSCLI \ System.IO \ __HResults

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. //=============================================================================
  16. //
  17. // Class: __HResults
  18. //
  19. // Author: Automatically generated
  20. //
  21. // Purpose: Define HResult constants. Every exception has one of these.
  22. //
  23. // Date: 98/08/31 11:57:11 AM
  24. //
  25. //===========================================================================*/
  26. namespace System.IO
  27. {
  28.     using System;
  29.     // Only static data no need to serialize
  30.     static internal class __HResults
  31.     {
  32.         // These use an error code from WinError.h
  33.         public const int COR_E_ENDOFSTREAM = unchecked((int)2147942438u);
  34.         // OS defined
  35.         public const int COR_E_FILELOAD = unchecked((int)2148734497u);
  36.         public const int COR_E_FILENOTFOUND = unchecked((int)2147942402u);
  37.         public const int COR_E_DIRECTORYNOTFOUND = unchecked((int)2147942403u);
  38.         public const int COR_E_PATHTOOLONG = unchecked((int)2147942606u);
  39.        
  40.         public const int COR_E_IO = unchecked((int)2148734496u);
  41.     }
  42. }

Developer Fusion