Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SqlTypeException.cs
Go to the documentation of this file.
1
using
System.Runtime.CompilerServices
;
2
using
System.Runtime.Serialization
;
3
4
namespace
System.Data.SqlTypes
;
5
6
[
Serializable
]
7
[
TypeForwardedFrom
(
"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
)]
8
public
class
SqlTypeException
:
SystemException
9
{
10
public
SqlTypeException
()
11
:
this
(
System
.
SR
.SqlMisc_SqlTypeMessage,
null
)
12
{
13
}
14
15
public
SqlTypeException
(
string
? message)
16
:
this
(message,
null
)
17
{
18
}
19
20
public
SqlTypeException
(
string
? message,
Exception
? e)
21
:
base
(message, e)
22
{
23
base.HResult
= -2146232016;
24
}
25
26
protected
SqlTypeException
(
SerializationInfo
si
,
StreamingContext
sc
)
27
:
base
(
SqlTypeExceptionSerialization
(
si
,
sc
),
sc
)
28
{
29
}
30
31
private
static
SerializationInfo
SqlTypeExceptionSerialization
(
SerializationInfo
si
,
StreamingContext
sc
)
32
{
33
if
(
si
!=
null
&& 1 ==
si
.MemberCount)
34
{
35
string
@
string
=
si
.GetString(
"SqlTypeExceptionMessage"
);
36
SqlTypeException
ex
=
new
SqlTypeException
(@
string
);
37
ex
.GetObjectData(
si
,
sc
);
38
}
39
return
si
;
40
}
41
}
System.Data.SqlTypes.SqlTypeException.SqlTypeException
SqlTypeException(string? message)
Definition
SqlTypeException.cs:15
System.Data.SqlTypes.SqlTypeException.SqlTypeException
SqlTypeException(SerializationInfo si, StreamingContext sc)
Definition
SqlTypeException.cs:26
System.Data.SqlTypes.SqlTypeException.SqlTypeExceptionSerialization
static SerializationInfo SqlTypeExceptionSerialization(SerializationInfo si, StreamingContext sc)
Definition
SqlTypeException.cs:31
System.Data.SqlTypes.SqlTypeException.SqlTypeException
SqlTypeException()
Definition
SqlTypeException.cs:10
System.Data.SqlTypes.SqlTypeException.SqlTypeException
SqlTypeException(string? message, Exception? e)
Definition
SqlTypeException.cs:20
System.Data.SqlTypes.SqlTypeException
Definition
SqlTypeException.cs:9
System.Exception
Definition
Exception.cs:15
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:7
System.SR
Definition
SR.cs:7
System.SystemException
Definition
SystemException.cs:9
System.Data.SqlTypes
Definition
EComparison.cs:1
System.Data.IsolationLevel.Serializable
@ Serializable
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.Runtime.Serialization.CollectionKind.Dictionary
@ Dictionary
System.Runtime.Serialization
Definition
SerializationGuard.cs:3
System
Definition
BlockingCollection.cs:8
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:6
source
System.Data.Common
System.Data.SqlTypes
SqlTypeException.cs
Generated by
1.10.0