// Copyright (C) Tim Coleman, 2002
//
+using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.Runtime.InteropServices;
public sealed class OleDbException : ExternalException
{
private OleDbConnection connection;
-
+
#region Constructors
internal OleDbException (OleDbConnection cnc)
#endregion // Constructors
#region Properties
-
+ // FIXME : On .NET the string is System.Data.OleDb.OleDbException+ErrorConverter
+ [TypeConverterAttribute (typeof (OleDbException))]
public override int ErrorCode {
get {
GdaList glist;
return -1;
}
}
-
+
+ [ DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Content)]
public OleDbErrorCollection Errors {
get {
GdaList glist;
#region Methods
- [MonoTODO]
public override void GetObjectData (SerializationInfo si, StreamingContext context)
{
+ if (si == null)
+ throw new ArgumentNullException ("si");
+
+ si.AddValue ("connection", connection);
+ base.GetObjectData (si, context);
throw new NotImplementedException ();
}