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