FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (7)
159throw FxTrace.Exception.AsError(new CommunicationException(string.Format(SRServiceModel.WebSocketVersionMismatchFromServer, ""), ex));
161throw FxTrace.Exception.AsError(new CommunicationException(string.Format(SRServiceModel.WebSocketSubProtocolMismatchFromServer, ""), ex));
166throw FxTrace.Exception.AsError(new CommunicationException(ex.Message, ex));
224throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_CreateWebSocketFailed, _connectionFactory.GetType().Name), e));
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_InvalidWebSocket, _connectionFactory.GetType().Name)));
236throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_InvalidWebSocket, _connectionFactory.GetType().Name)));
244throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_InvalidSubProtocol, _connectionFactory.GetType().Name, obtained, requested)));