Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
HttpListenerException.cs
Go to the documentation of this file.
1
using
System.ComponentModel
;
2
using
System.Runtime.CompilerServices
;
3
using
System.Runtime.InteropServices
;
4
using
System.Runtime.Serialization
;
5
6
namespace
System.Net
;
7
8
[
Serializable
]
9
[
TypeForwardedFrom
(
"System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
)]
10
public
class
HttpListenerException
:
Win32Exception
11
{
12
public
override
int
ErrorCode
=>
base
.NativeErrorCode;
13
14
public
HttpListenerException
()
15
:
base
(
Marshal
.GetLastPInvokeError())
16
{
17
if
(
System
.
Net
.
NetEventSource
.
Log
.IsEnabled())
18
{
19
System
.
Net
.
NetEventSource
.
Info
(
this
,
$
"{base.NativeErrorCode}:{Message}"
,
".ctor"
);
20
}
21
}
22
23
public
HttpListenerException
(
int
errorCode
)
24
:
base
(
errorCode
)
25
{
26
if
(
System
.
Net
.
NetEventSource
.
Log
.IsEnabled())
27
{
28
System
.
Net
.
NetEventSource
.
Info
(
this
,
$
"{base.NativeErrorCode}:{Message}"
,
".ctor"
);
29
}
30
}
31
32
public
HttpListenerException
(
int
errorCode
,
string
message)
33
:
base
(
errorCode
, message)
34
{
35
if
(
System
.
Net
.
NetEventSource
.
Log
.IsEnabled())
36
{
37
System
.
Net
.
NetEventSource
.
Info
(
this
,
$
"{base.NativeErrorCode}:{Message}"
,
".ctor"
);
38
}
39
}
40
41
protected
HttpListenerException
(
SerializationInfo
serializationInfo
,
StreamingContext
streamingContext
)
42
:
base
(
serializationInfo
,
streamingContext
)
43
{
44
if
(
System
.
Net
.
NetEventSource
.
Log
.IsEnabled())
45
{
46
System
.
Net
.
NetEventSource
.
Info
(
this
,
$
"{base.NativeErrorCode}:{Message}"
,
".ctor"
);
47
}
48
}
49
}
System.Net.HttpListenerException.HttpListenerException
HttpListenerException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Definition
HttpListenerException.cs:41
System.Net.HttpListenerException.HttpListenerException
HttpListenerException(int errorCode, string message)
Definition
HttpListenerException.cs:32
System.Net.HttpListenerException.HttpListenerException
HttpListenerException(int errorCode)
Definition
HttpListenerException.cs:23
System.Net.HttpListenerException.HttpListenerException
HttpListenerException()
Definition
HttpListenerException.cs:14
System.Net.HttpListenerException.ErrorCode
override int ErrorCode
Definition
HttpListenerException.cs:12
System.Net.HttpListenerException
Definition
HttpListenerException.cs:11
System.Net.NetEventSource.Log
static readonly System.Net.NetEventSource Log
Definition
NetEventSource.cs:20
System.Net.NetEventSource.Info
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
Definition
NetEventSource.cs:192
System.Net.NetEventSource
Definition
NetEventSource.cs:12
System.Runtime.InteropServices.Marshal
Definition
Marshal.cs:14
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:7
Win32Exception
System.ComponentModel
Definition
ColumnAttribute.cs:3
System.Data.IsolationLevel.Serializable
@ Serializable
System.Net
Definition
HttpClientJsonExtensions.cs:8
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.Runtime.InteropServices
Definition
SequenceMarshal.cs:4
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.Net.HttpListener
System.Net
HttpListenerException.cs
Generated by
1.10.0