4 references to GetSafeReasonText
System.ServiceModel (4)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (3)
3237string reason = FaultException.GetSafeReasonText(fault); 3260return new EndpointNotFoundException(FaultException.GetSafeReasonText(fault)); 3275return new ProtocolException(SR.GetString(SR.UnrecognizedFaultReceivedOnOpen, fault.Code.Namespace, fault.Code.Name, FaultException.GetSafeReasonText(fault)));
System\ServiceModel\Channels\WsrmMessageInfo.cs (1)
598messageInfo.faultException = new ProtocolException(SR.GetString(SR.UnrecognizedFaultReceived, messageInfo.faultInfo.Code.Namespace, messageInfo.faultInfo.Code.Name, System.ServiceModel.FaultException.GetSafeReasonText(messageInfo.faultInfo)));