17 references to Format
System.Net.Http (17)
System\Net\Http\Headers\ContentDispositionHeaderValue.cs (1)
406throw new ArgumentException(SR.Format(CultureInfo.InvariantCulture,
System\Net\Http\Headers\HeaderUtilities.cs (3)
149throw new FormatException(SR.Format(CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, value)); 160throw new FormatException(SR.Format(CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, value)); 171throw new FormatException(SR.Format(CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, value));
System\Net\Http\Headers\HttpHeaderParser.cs (1)
61throw new FormatException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value,
System\Net\Http\Headers\HttpHeaders.cs (1)
1110throw new FormatException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_single_value_header, descriptor.Name));
System\Net\Http\Headers\MediaTypeHeaderValue.cs (1)
284throw new FormatException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, mediaType));
System\Net\Http\Headers\NameValueHeaderValue.cs (1)
380throw new FormatException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, value));
System\Net\Http\Headers\ProductInfoHeaderValue.cs (1)
91throw new FormatException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, input.Substring(index)));
System\Net\Http\Headers\ViaHeaderValue.cs (1)
264throw new FormatException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, receivedBy));
System\Net\Http\HttpClient.cs (1)
124SR.Format(System.Globalization.CultureInfo.InvariantCulture,
System\Net\Http\HttpClientHandler.cs (1)
248SR.Format(CultureInfo.InvariantCulture, SR.net_http_content_buffersize_limit,
System\Net\Http\HttpContent.cs (2)
607SR.Format(CultureInfo.InvariantCulture, 780return (HttpRequestException)ExceptionDispatchInfo.SetCurrentStackTrace(new HttpRequestException(HttpRequestError.ConfigurationLimitExceeded, SR.Format(CultureInfo.InvariantCulture, SR.net_http_content_buffersize_exceeded, maxBufferSize)));
System\Net\Http\MultipartContent.cs (3)
79SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_content_field_too_long, 70)); 84throw new ArgumentException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, boundary), nameof(boundary)); 89throw new ArgumentException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_invalid_value, boundary), nameof(boundary));