6 instantiations of OleDbException
System.Data.OleDb (6)
OleDb_Util.cs (2)
184
e = new
OleDbException
(SR.Format(SR.OleDb_NoErrorInformation2, provider, ODB.ELookup(hr)), hr, inner);
188
e = new
OleDbException
(SR.Format(SR.OleDb_NoErrorInformation, ODB.ELookup(hr)), hr, inner);
OleDbCommand.cs (2)
747
nextResultsFailure = new
OleDbException
(nextResultsFailure, e);
775
nextResultsFailure = new
OleDbException
(nextResultsFailure, e);
OleDbException.cs (2)
101
return new
OleDbException
(message, inner, source, errorCode, errors);
118
return new
OleDbException
(builder.ToString(), null, exceptions[0].Source, (OleDbHResult)exceptions[0].ErrorCode, errors);
22 references to OleDbException
System.Data (1)
src\runtime\src\libraries\shims\System.Data\ref\System.Data.cs (1)
160
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.OleDb.
OleDbException
))]
System.Data.OleDb (21)
OleDb_Util.cs (2)
179
internal static
OleDbException
NoErrorInformation(string? provider, OleDbHResult hr, Exception? inner)
181
OleDbException
e;
OleDbCommand.cs (1)
630
OleDbException
? nextResultsFailure = null;
OleDbConnection.cs (3)
500
OleDbException
exception =
OleDbException
.CreateException(errorInfo, errorCode, null);
601
e =
OleDbException
.CreateException(errorInfo, hresult, null);
OleDbConnectionStringBuilder.cs (1)
520
catch (System.Data.OleDb.
OleDbException
e)
OleDbDataReader.cs (7)
680
OleDbException
? nextResultsFailure = NextResults(multipleResults, null, cmd, out affected);
1221
internal static
OleDbException
? NextResults(UnsafeNativeMethods.IMultipleResults? imultipleResults, OleDbConnection? connection, OleDbCommand command, out IntPtr recordsAffected)
1224
List<
OleDbException
>? exceptions = null;
1252
OleDbException
? excep = (e as
OleDbException
);
1257
exceptions = new List<
OleDbException
>();
1288
return
OleDbException
.CombineExceptions(exceptions);
OleDbException.cs (5)
24
internal OleDbException(
OleDbException
previous, Exception? inner) : base(previous.Message, inner)
68
internal static
OleDbException
CreateException(UnsafeNativeMethods.IErrorInfo errorInfo, OleDbHResult errorCode, Exception? inner)
104
internal static
OleDbException
CombineExceptions(List<
OleDbException
> exceptions)
112
foreach (
OleDbException
exception in exceptions)
OleDbInfoMessageEvent.cs (2)
10
private readonly
OleDbException
exception;
12
internal OleDbInfoMessageEventArgs(
OleDbException
exception)