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