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

◆ ThrowIfAborted()

void System.Net.WebSockets.WebSocketBase.ThrowIfAborted ( bool aborted,
Exception innerException )
inlineprivate

Definition at line 1477 of file WebSocketBase.cs.

1478 {
1479 if (aborted)
1480 {
1481 throw new WebSocketException(WebSocketError.InvalidState, System.SR.Format(System.SR.net_WebSockets_InvalidState_ClosedOrAborted, GetType().FullName, WebSocketState.Aborted), innerException);
1482 }
1483 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string net_WebSockets_InvalidState_ClosedOrAborted
Definition SR.cs:154
Definition SR.cs:7

References System.SR.Format(), System.FullName, and System.SR.net_WebSockets_InvalidState_ClosedOrAborted.

Referenced by System.Net.WebSockets.WebSocketBase.ThrowIfConvertibleException().