16 references to Format
System.ServiceModel.NetFramingBase (16)
System\ServiceModel\Channels\Connection.cs (2)
128
SR.
Format
(SR.ValueMustBeInRange, -1, int.MaxValue)));
143
SR.
Format
(SR.ValueMustBeInRange, -1, int.MaxValue)));
System\ServiceModel\Channels\FramingChannels.cs (1)
360
return new TimeoutException(SR.
Format
(SR.OpenTimedOutEstablishingTransportSession,
System\ServiceModel\Channels\FramingDecoders.cs (3)
276
return new ProtocolException(SR.
Format
(SR.FramingContentTypeMismatch, contentType, via));
432
return new InvalidDataException(SR.
Format
(SR.FramingRecordTypeMismatch, expectedType.ToString(), foundType.ToString()));
459
return new ProtocolException(SR.
Format
(SR.FramingError, StreamPosition, CurrentStateAsString),
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (1)
374
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(nameof(via), SR.
Format
(SR.InvalidUriScheme,
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (5)
121
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("kind", SR.
Format
(SR.StreamUpgradeUnsupportedChannelBindingKind, GetType(), kind));
187
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.
Format
(
433
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.
Format
(SR.IdentityCheckFailedForOutgoingMessage, identity, serviceReference)));
479
result = new MessageSecurityException(SR.
Format
(SR.DnsIdentityCheckFailedForOutgoingMessage, expectedDnsName, actualDnsName));
484
result = new MessageSecurityException(SR.
Format
(errorString, identity, serviceReference));
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (1)
142
protected override TimeoutException CreateNewConnectionTimeoutException(TimeSpan timeout, TimeoutException innerException) => new TimeoutException(SR.
Format
(SR.RequestTimedOutEstablishingTransportSession,
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (2)
405
SR.
Format
(SR.SendToViaTimedOut, Via, timeout),
481
SR.
Format
(SR.SendToViaTimedOut, Via, timeout),
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
92
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.
Format
(