3 types derived from ProtocolException
System.ServiceModel.Primitives (3)
81 instantiations of ProtocolException
System.ServiceModel.Http (19)
System.ServiceModel.NetFramingBase (13)
System\ServiceModel\Channels\FramingDecoders.cs (7)
276return new ProtocolException(SR.Format(SR.FramingContentTypeMismatch, contentType, via));
297return new ProtocolException(SR.Format(SR.FramingModeNotSupportedFault, via));
301return new ProtocolException(SR.Format(SR.FramingVersionNotSupportedFault, via));
319return new ProtocolException(SR.Format(SR.FramingUpgradeInvalid, via));
323return new ProtocolException(SR.Format(SR.FramingFaultUnrecognized, faultString));
426throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ProtocolException(exceptionString, inner));
459return new ProtocolException(SR.Format(SR.FramingError, StreamPosition, CurrentStateAsString),
System.ServiceModel.Primitives (49)
System\ServiceModel\Channels\WsrmMessageInfo.cs (8)
114return CreateInternalFaultException(faultReply, exceptionReason, new ProtocolException(exceptionReason));
492messageInfo._faultException = new ProtocolException(SRP.Format(SRP.UnrecognizedFaultReceived, messageInfo.MessageFault.Code.Namespace, messageInfo.MessageFault.Code.Name, System.ServiceModel.FaultException.GetSafeReasonText(messageInfo.MessageFault)));
543messageInfo._faultException = new ProtocolException(SRP.MessageExceptionOccurred, exception);
547messageInfo.ParsingException = new ProtocolException(SRP.MessageExceptionOccurred, exception);
555messageInfo.ParsingException = new ProtocolException(SRP.MessageExceptionOccurred, exception);
706throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new ProtocolException(reason)));
723throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new ProtocolException(reason)));
755throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new ProtocolException(reason)));
18 references to ProtocolException
Client.ExpectedExceptions.IntegrationTests (2)
Contract.Message.IntegrationTests (1)
Encoding.Encoders.IntegrationTests (1)
Security.TransportSecurity.IntegrationTests (1)
System.ServiceModel.Http (4)
System.ServiceModel.NetFramingBase (2)
System.ServiceModel.Primitives (7)