12 references to Format
System.Net.HttpListener (12)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (3)
53
throw new ArgumentException(SR.
Format
(SR.net_WebSockets_InvalidCharInProtocolString, subProtocol, invalidCharDescription), nameof(subProtocol));
61
throw new ArgumentException(SR.
Format
(SR.net_WebSockets_ReasonNotNull,
88
throw new ArgumentException(SR.
Format
(SR.net_WebSockets_InvalidCloseStatusDescription,
System\Net\HttpListenerRequestUriBuilder.cs (4)
164
NetEventSource.Error(this, SR.
Format
(SR.net_log_listener_cant_convert_raw_path, _rawPath, encoding.EncodingName));
273
if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.
Format
(SR.net_log_listener_cant_convert_to_utf8, unicodeString, e.Message));
323
if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.
Format
(SR.net_log_listener_cant_convert_bytes, GetOctetsAsString(_rawOctets), e.Message));
328
if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.
Format
(SR.net_log_listener_cant_convert_to_utf8, decodedString, e.Message));
System\Net\ServiceNameStore.cs (2)
148
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.
Format
(SR.net_log_listener_spn_add, spn, uriPrefix));
182
NetEventSource.Info(this, SR.
Format
(SR.net_log_listener_spn_remove, newServiceName, uriPrefix));
System\Net\WebSockets\HttpWebSocket.cs (3)
74
SR.
Format
(SR.net_WebSockets_AcceptUnsupportedProtocol,
121
SR.
Format
(SR.net_WebSockets_AcceptHeaderNotFound,
152
SR.
Format
(SR.net_WebSockets_AcceptHeaderNotFound,