2 // COMException.cs - COM Exception
5 // Sebastien Pouliot (spouliot@motus.com)
7 // (C) 2002 Motus Technologies Inc. (http://www.motus.com)
10 using System.Runtime.Serialization;
12 namespace System.Runtime.InteropServices {
15 public class COMException : ExternalException {
17 public COMException ()
20 public COMException (string message)
23 public COMException (string message, Exception inner)
24 : base (message, inner) {}
26 public COMException (string message, int errorCode)
27 : base (message, errorCode) {}
29 protected COMException (SerializationInfo info, StreamingContext context)
30 : base (info, context) {}
33 public override string ToString ()