-//\r
-// System.Runtime.InteropServices.ComObjectInUseException\r
-//\r
-// Author:\r
-// Kazuki Oikawa (kazuki@panicode.com)\r
-//\r
-\r
-#if NET_2_0\r
-\r
-using System;\r
-using System.Runtime.Serialization;\r
-\r
-namespace System.Runtime.InteropServices\r
-{\r
- public class ComObjectInUseException : SystemException\r
- {\r
- private const int ErrorCode = -2146233046;\r
-\r
- public ComObjectInUseException () : base ()\r
- {\r
- HResult = ErrorCode;\r
- }\r
-\r
- public ComObjectInUseException (string message) : base (message)\r
- {\r
- HResult = ErrorCode;\r
- }\r
-\r
- protected ComObjectInUseException (SerializationInfo info, StreamingContext context) : base (info, context)\r
- {\r
- }\r
-\r
- public ComObjectInUseException (string message, Exception inner) : base (message, inner)\r
- {\r
- HResult = ErrorCode;\r
- }\r
- }\r
-}\r
+//
+// System.Runtime.InteropServices.ComObjectInUseException
+//
+// Author:
+// Kazuki Oikawa (kazuki@panicode.com)
+//
+
+#if NET_2_0
+
+using System;
+using System.Runtime.Serialization;
+
+namespace System.Runtime.InteropServices
+{
+ [Serializable]
+ public class ComObjectInUseException : SystemException
+ {
+ private const int ErrorCode = -2146233046;
+
+ public ComObjectInUseException () : base ()
+ {
+ HResult = ErrorCode;
+ }
+
+ public ComObjectInUseException (string message) : base (message)
+ {
+ HResult = ErrorCode;
+ }
+
+ protected ComObjectInUseException (SerializationInfo info, StreamingContext context) : base (info, context)
+ {
+ }
+
+ public ComObjectInUseException (string message, Exception inner) : base (message, inner)
+ {
+ HResult = ErrorCode;
+ }
+ }
+}
#endif
\ No newline at end of file