Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ OnBackgroundTaskException()

void System.Net.WebSockets.WebSocketBase.OnBackgroundTaskException ( Exception exception)
inlineprivate

Definition at line 1605 of file WebSocketBase.cs.

1606 {
1608 {
1609 if (System.Net.NetEventSource.Log.IsEnabled())
1610 {
1611 System.Net.NetEventSource.Error(this, exception.ToString(), "OnBackgroundTaskException");
1612 }
1613 Abort();
1614 }
1615 }
static readonly System.Net.NetEventSource Log
static void Error(object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
static int CompareExchange(ref int location1, int value, int comparand)

References System.Net.WebSockets.WebSocketBase._pendingException, System.Net.WebSockets.WebSocketBase.Abort(), System.Threading.Interlocked.CompareExchange(), System.Net.NetEventSource.Error(), System.exception, and System.Net.NetEventSource.Log.