COMException.cs 764 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // COMException.cs - COM Exception
  3. //
  4. // Author:
  5. // Sebastien Pouliot ([email protected])
  6. //
  7. // (C) 2002 Motus Technologies Inc. (http://www.motus.com)
  8. //
  9. using System.Runtime.Serialization;
  10. namespace System.Runtime.InteropServices {
  11. [Serializable]
  12. public class COMException : ExternalException {
  13. public COMException ()
  14. : base () {}
  15. public COMException (string message)
  16. : base (message) {}
  17. public COMException (string message, Exception inner)
  18. : base (message, inner) {}
  19. public COMException (string message, int errorCode)
  20. : base (message, errorCode) {}
  21. protected COMException (SerializationInfo info, StreamingContext context)
  22. : base (info, context) {}
  23. [MonoTODO()]
  24. public override string ToString ()
  25. {
  26. return null;
  27. }
  28. }
  29. }