8 references to Faulted
System.Net.WebSockets (6)
System\Net\WebSockets\ManagedWebSocket.cs (5)
756
await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.ProtocolError, WebSocketError.
Faulted
, headerErrorMessage).ConfigureAwait(false);
881
await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.InvalidPayloadData, WebSocketError.
Faulted
).ConfigureAwait(false);
960
await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.ProtocolError, WebSocketError.
Faulted
).ConfigureAwait(false);
977
await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.ProtocolError, WebSocketError.
Faulted
).ConfigureAwait(false);
988
await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.ProtocolError, WebSocketError.
Faulted
, innerException: exc).ConfigureAwait(false);
System\Net\WebSockets\WebSocketException.cs (1)
136
WebSocketError.
Faulted
=> SR.net_Websockets_WebSocketBaseFaulted,
System.Net.WebSockets.Client (2)
System\Net\WebSockets\WebSocketHandle.Managed.cs (2)
221
throw new WebSocketException(WebSocketError.
Faulted
, SR.net_webstatus_ConnectFailure, exc);
529
throw new WebSocketException(WebSocketError.
Faulted
, SR.Format(SR.net_WebSockets_MissingResponseHeader, name));