Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DbException.cs
Go to the documentation of this file.
4
5namespace System.Data.Common;
6
8[TypeForwardedFrom("System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
9public abstract class DbException : ExternalException
10{
11 public virtual bool IsTransient => false;
12
13 public virtual string? SqlState => null;
14
16
17 protected virtual DbBatchCommand? DbBatchCommand => null;
18
19 protected DbException()
20 {
21 }
22
23 protected DbException(string? message)
24 : base(message)
25 {
26 }
27
28 protected DbException(string? message, Exception? innerException)
29 : base(message, innerException)
30 {
31 }
32
33 protected DbException(string? message, int errorCode)
34 : base(message, errorCode)
35 {
36 }
37
39 : base(info, context)
40 {
41 }
42}
DbException(string? message, int errorCode)
DbException(SerializationInfo info, StreamingContext context)
DbException(string? message, Exception? innerException)
virtual ? DbBatchCommand DbBatchCommand