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