43 references to Format
System.ServiceModel.NetFramingBase (43)
System\ServiceModel\Channels\ConnectionPool.cs (1)
579WcfEventSource.Instance.MaxOutboundConnectionsPerEndpointExceeded(SR.Format(SR.TraceCodeConnectionPoolMaxOutboundConnectionsPerEndpointQuotaReached, _maxCount));
System\ServiceModel\Channels\ConnectionPoolHelper.cs (1)
149SR.Format(SR.OperationAbortedDuringConnectionEstablishment, _via)));
System\ServiceModel\Channels\FramingChannels.cs (4)
220SR.Format(SR.CloseTimedOut, timeout), 281new TimeoutException(SR.Format(SR.TimeoutOnOpen, timeout), exception)); 328new CommunicationObjectAbortedException(SR.Format(SR.DuplexChannelAbortedDuringOpen, Via))); 464new ProtocolException(SR.Format(SR.ServerRejectedSessionPreamble, via),
System\ServiceModel\Channels\FramingDecoders.cs (17)
222Exception result = new InvalidDataException(SR.Format(SR.FramingViaTooLong, size)); 236throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataException(SR.Format(SR.FramingViaNotUri, value), exception)); 265return new InvalidDataException(SR.Format(SR.FramingFaultTooLong, size)); 272return new EndpointNotFoundException(SR.Format(SR.EndpointNotFound, via)); 280return new ServiceActivationException(SR.Format(SR.Hosting_ServiceActivationFailed, via)); 284return new CommunicationException(SR.Format(SR.Sharing_ConnectionDispatchFailed, via)); 288return new EndpointNotFoundException(SR.Format(SR.Sharing_EndpointUnavailable, via)); 297return new ProtocolException(SR.Format(SR.FramingModeNotSupportedFault, via)); 301return new ProtocolException(SR.Format(SR.FramingVersionNotSupportedFault, via)); 305Exception inner = new QuotaExceededException(SR.Format(SR.FramingContentTypeTooLongFault, contentType)); 310Exception inner = new QuotaExceededException(SR.Format(SR.FramingViaTooLongFault, via)); 315return new ServerTooBusyException(SR.Format(SR.ServerTooBusy, via)); 319return new ProtocolException(SR.Format(SR.FramingUpgradeInvalid, via)); 323return new ProtocolException(SR.Format(SR.FramingFaultUnrecognized, faultString)); 337Exception result = new InvalidDataException(SR.Format(SR.FramingContentTypeTooLong, size)); 396Exception exception = CreateException(new InvalidDataException(SR.Format( 439Exception exception = CreateException(new InvalidDataException(SR.Format(
System\ServiceModel\Channels\FramingEncoders.cs (2)
230messageFrame.Offset, SR.Format(SR.SpaceNeededExceedsMessageFrameOffset, spaceNeeded))); 315messageFrame.Offset, SR.Format(SR.SpaceNeededExceedsMessageFrameOffset, spaceNeeded)));
System\ServiceModel\Channels\IdlingCommunicationPool.cs (2)
317WcfEventSource.Instance.LeaseTimeout(SR.Format(SR.TraceCodeConnectionPoolLeaseTimeoutReached, _leaseTimeout), _parent.Key.ToString()); 325WcfEventSource.Instance.IdleTimeout(SR.Format(SR.TraceCodeConnectionPoolIdleTimeoutReached, _idleTimeout), _parent.Key.ToString());
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
182ServiceModelActivity.Start(activity, SR.Format(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (4)
116throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("upgradeInitiator", SR.Format(SR.UnsupportedUpgradeInitiator, upgradeInitiator.GetType())); 293throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.Format(SR.ClientCredentialsUnableToCreateLocalTokenProvider, clientCertRequirement))); 385SR.Format(SR.NegotiationFailedIO, ioException.Message), ioException)); 475result = new MessageSecurityException(SR.Format(SR.DnsIdentityCheckFailedForOutgoingMessageLackOfDnsClaim, expectedDnsName));
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (2)
231new TimeoutException(SR.Format(SR.TimeoutOnRequest, timeoutHelper.RemainingTime()), exception)); 275throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(SR.Format(
System\ServiceModel\Channels\SynchronizedMessageSource.cs (2)
32new TimeoutException(SR.Format(SR.WaitForMessageTimedOut, timeout), 56new TimeoutException(SR.Format(SR.ReceiveTimedOut2, timeout),
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (5)
247WcfEventSource.Instance.CloseTimeout(SR.Format(SR.CloseTimedOut, timeout)); 251SR.Format(SR.CloseTimedOut, timeout), 663string text = SR.Format(SR.ReceiveShutdownReturnedFault, reason.Text); 668string text = SR.Format(SR.ReceiveShutdownReturnedLargeFault, message.Headers.Action); 674string text = SR.Format(SR.ReceiveShutdownReturnedMessage, message.Headers.Action);
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
192SR.Format(SR.NegotiationFailedIO, ioException.Message), ioException)); 241throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(SR.Format(