8 references to Format
System.Net.Security (8)
src\libraries\Common\src\Interop\Unix\System.Net.Security.Native\Interop.GssApiException.cs (2)
55
SR.
Format
(SR.net_gssapi_operation_failed_detailed, majorError, minorError) :
56
SR.
Format
(SR.net_gssapi_operation_failed, majorStatus.ToString("x"), minorStatus.ToString("x"));
src\libraries\Common\src\Interop\Unix\System.Net.Security.Native\Interop.GssBuffer.cs (1)
34
throw new NetSecurityNative.GssApiException(SR.
Format
(SR.net_context_buffer_too_small, sourceLength, destinationAvailable));
System\Net\CertificateValidationPal.cs (1)
81
NetEventSource.Error(null, SR.
Format
(SR.net_log_open_store_failed, storeLocation, exception));
System\Net\Security\NegotiateStream.cs (2)
773
new AuthenticationException(SR.
Format
(SR.net_auth_context_expectation, _expectedImpersonationLevel.ToString(), PrivateImpersonationLevel.ToString())),
775
new AuthenticationException(SR.
Format
(SR.net_auth_context_expectation, _context.ProtectionLevel.ToString(), _expectedProtectionLevel.ToString())),
System\Net\StreamFramer.cs (2)
50
throw new InvalidOperationException(SR.
Format
(SR.net_frame_size,
108
throw new ArgumentException(SR.
Format
(SR.net_frame_max_size, MaxMessageSize, value), nameof(PayloadSize));