3091 references to Logging
System (3091)
net\System\Net\_AuthenticationManagerBase.cs (3)
144if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_ssp_dont_support_cbt));
net\System\Net\_AutoWebProxyScriptEngine.cs (6)
481if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_system_setting_update)); 495if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_update_due_to_ip_config_change));
net\System\Net\_AutoWebProxyScriptHelper.cs (60)
252if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.isPlainHostName()", "hostName")); 261if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.dnsDomainIs()", "host")); 265if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.dnsDomainIs()", "domain")); 283if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.localHostOrDomainIs()", "host")); 287if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.localHostOrDomainIs()", "hostDom")); 302if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.isResolvable()", "host")); 328if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.dnsResolve()", "host")); 367if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.dnsDomainLevels()", "host")); 382if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.isInNet()", "host")); 386if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.isInNet()", "pattern")); 390if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.isInNet()", "mask")); 420if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.shExpMatch()", "host")); 424if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.shExpMatch()", "pattern")); 445if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.weekdayRange()", "wd1")); 470if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.weekdayRange()", "gmt")); 526if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_invalid_parameter, "WebProxyScriptHelper.weekdayRange()")); 718if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.isResolvable()", "ipAddress")); 722if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.isResolvable()", "ipPrefix")); 912if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.dnsResolve()", "host")); 945if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.dnsResolve()", "host"));
net\System\Net\_CommandStream.cs (6)
223if (Logging.On) 232Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_sending_command, sendCommand)); 660if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_received_response, responseString.Substring(0, completeLength-2)));
net\System\Net\_Connection.cs (15)
746if(Logging.On)Logging.Associate(Logging.Web, this, request); 936if (Logging.On) Logging.PrintError(Logging.Web, this, "IsConnectionReusable", ex.ToString()); 1210if (Logging.On) Logging.PrintError(Logging.Web, this, "CompleteConnection", "on error"); 2612if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_received_status_line, m_StatusLineValues.MajorVersion+"."+m_StatusLineValues.MinorVersion, m_StatusLineValues.StatusCode, m_StatusLineValues.StatusDescription)); 2673if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_received_headers, m_ResponseData.m_ResponseHeaders.ToString(true)));
net\System\Net\_ConnectStream.cs (65)
256if(Logging.On)Logging.PrintInfo(Logging.Web, this, "ConnectStream", SR.GetString(SR.net_log_buffered_n_bytes, readCount)); 669if(Logging.On && bufferedData.GetBuffers() != null) { 672Logging.Dump(Logging.Web, this, "ResubmitWrite", null, 0, 0); 675Logging.Dump(Logging.Web, this, "ResubmitWrite", bufferOffsetSize.Buffer, bufferOffsetSize.Offset, bufferOffsetSize.Size); 805if (Logging.On) Logging.Enter(Logging.Web, this, "Write", ""); 822if(Logging.On) Logging.Dump(Logging.Web, this, "Write", buffer, offset, size); 826if(Logging.On)Logging.Exit(Logging.Web, this, "Write", ""); 866if(Logging.On)Logging.Enter(Logging.Web, this, "BeginWrite", ""); 883if (Logging.On) Logging.Dump(Logging.Web, this, "BeginWrite", buffer, offset, size); 886if(Logging.On)Logging.Exit(Logging.Web, this, "BeginWrite", result); 1296if(Logging.On)Logging.Enter(Logging.Web, this, "EndWrite", ""); 1341if(Logging.On)Logging.Exit(Logging.Web, this, "EndWrite", ""); 1373if (Logging.On) Logging.Enter(Logging.Web, this, "Read", ""); 1440if(Logging.On && bytesRead>0)Logging.Dump(Logging.Web, this, "Read", buffer, offset, bytesRead); 1441if(Logging.On)Logging.Exit(Logging.Web, this, "Read", bytesRead); 1631if(Logging.On)Logging.Enter(Logging.Web, this, "BeginRead", ""); 1695if(Logging.On)Logging.Exit(Logging.Web, this, "BeginRead", result); 1877if(Logging.On)Logging.Dump(Logging.Web, thisConnectStream, "ReadCallback", castedAsyncResult.Buffer, castedAsyncResult.Offset, Math.Min(castedAsyncResult.Size, bytesTransferred)); 1910if (Logging.On) Logging.Enter(Logging.Web, this, "EndRead", ""); 2000if(Logging.On)Logging.Exit(Logging.Web, this, "EndRead", bytesTransferred); 2184if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_sending_headers, m_Request.Headers.ToString(true))); 2402if(Logging.On)Logging.Enter(Logging.Web, this, "Close", ""); 2404if(Logging.On)Logging.Exit(Logging.Web, this, "Close", "");
net\System\Net\_DigestClient.cs (23)
94if (Logging.On) 95Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_digest_qop_not_supported, digestChallenge.QualityOfProtection)); 482Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_auth_invalid_challenge, DigestClient.AuthType)); 758if (Logging.On) Logging.PrintWarning(Logging.Web, typeof(HttpDigest), "ReadSuppressExtendedProtectionRegistryValue", e.Message); 761if (Logging.On) Logging.PrintWarning(Logging.Web, typeof(HttpDigest), "ReadSuppressExtendedProtectionRegistryValue", e.Message); 766if (Logging.On) Logging.PrintWarning(Logging.Web, typeof(HttpDigest), "ReadSuppressExtendedProtectionRegistryValue", e.Message); 769if (Logging.On) Logging.PrintWarning(Logging.Web, typeof(HttpDigest), "ReadSuppressExtendedProtectionRegistryValue", e.Message); 873if (Logging.On) 874Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_digest_requires_nonce)); 1141if (Logging.On) 1142Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_digest_hash_algorithm_not_supported, challenge.Algorithm));
net\System\Net\_ListenerAsyncResult.cs (3)
102if (Logging.On) Logging.PrintError(Logging.HttpListener, ValidationHelper.HashString(asyncResult), "IOCompleted", exception.ToString());
net\System\Net\_ListenerRequestStream.cs (48)
107if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Read", ""); 119if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Read", "dataRead:0"); 167if(Logging.On)Logging.Exception(Logging.HttpListener, this, "Read", exception); 172if(Logging.On)Logging.Dump(Logging.HttpListener, this, "Read", buffer, offset, (int)dataRead); 174if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Read", "dataRead:" + dataRead); 189if(Logging.On) Logging.Enter(Logging.HttpListener, this, "BeginRead", ""); 201if(Logging.On)Logging.Exit(Logging.HttpListener, this, "BeginRead", ""); 259if (Logging.On) Logging.Exception(Logging.HttpListener, this, "BeginRead", e); 272if (Logging.On) Logging.Exception(Logging.HttpListener, this, "BeginRead", exception); 284if(Logging.On)Logging.Exit(Logging.HttpListener, this, "BeginRead", ""); 289if(Logging.On)Logging.Enter(Logging.HttpListener, this, "EndRead", ""); 307if(Logging.On)Logging.Exception(Logging.HttpListener, this, "EndRead", exception); 316if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndRead", ""); 336if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Dispose", ""); 344if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Dispose", ""); 405if(Logging.On)Logging.Dump(Logging.HttpListener, asyncResult, "Callback", (IntPtr)asyncResult.m_pPinnedBuffer, (int)numBytes);
net\System\Net\_ListenerResponseStream.cs (57)
128if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Write", ""); 141if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Write", ""); 222if(Logging.On)Logging.Exception(Logging.HttpListener, this, "Write", exception); 228if(Logging.On)Logging.Dump(Logging.HttpListener, this, "Write", buffer, offset, (int)dataToWrite); 229if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Write", ""); 247if(Logging.On)Logging.Exit(Logging.HttpListener, this, "BeginWrite", ""); 290if (Logging.On) Logging.Exception(Logging.HttpListener, this, "BeginWrite", e); 304if (Logging.On) Logging.Exception(Logging.HttpListener, this, "BeginWrite", exception); 323if(Logging.On)Logging.Exit(Logging.HttpListener, this, "BeginWrite", ""); 328if(Logging.On)Logging.Enter(Logging.HttpListener, this, "EndWrite", ""); 347if(Logging.On)Logging.Exception(Logging.HttpListener, this, "EndWrite", exception); 356if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndWrite", ""); 376if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Close", ""); 382if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); 392if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); 445if(Logging.On)Logging.Exception(Logging.HttpListener, this, "Close", exception); 455if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Dispose", ""); 598if (Logging.On) { Logging.Dump(Logging.HttpListener, asyncResult, "Callback", IntPtr.Zero, 0); } 602if (Logging.On) { for (int i = 0; i < asyncResult.m_DataChunks.Length; i++) { Logging.Dump(Logging.HttpListener, asyncResult, "Callback", (IntPtr)asyncResult.m_DataChunks[0].pBuffer, (int)asyncResult.m_DataChunks[0].BufferLength); } }
net\System\Net\_NetworkingPerfCounters.cs (32)
146if (Logging.On) Logging.Exception(Logging.Web, "NetworkingPerfCounters", "Increment", e); 150if (Logging.On) Logging.Exception(Logging.Web, "NetworkingPerfCounters", "Increment", e); 183if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_perfcounter_initialization_started)); 192if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_perfcounter_nocategory, categoryName)); 218if (Logging.On) Logging.Exception(Logging.Web, "NetworkingPerfCounters", "Initialize", e); 224if (Logging.On) Logging.Exception(Logging.Web, "NetworkingPerfCounters", "Initialize", e); 234if (Logging.On) 238Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_perfcounter_initialized_success)); 242Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_perfcounter_initialized_error)); 257if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_perfcounter_cant_queue_workitem)); 339if (Logging.On) Logging.Exception(Logging.Web, "NetworkingPerfCounters", 344if (Logging.On) Logging.Exception(Logging.Web, "NetworkingPerfCounters",
net\System\Net\_NTAuthentication.cs (3)
520if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "SspiEncodeStringsAsAuthIdentity()", String.Format(CultureInfo.CurrentCulture, "0x{0:X}", (int)result)));
net\System\Net\_PooledStream.cs (6)
159if (Logging.On) { 160Logging.PrintInfo(Logging.Web, this, 206if (Logging.On) { 207Logging.PrintInfo(Logging.Web, this,
net\System\Net\_SecureChannel.cs (70)
92if (Logging.On) Logging.PrintInfo(Logging.Web, this, ".ctor", "hostname=" + hostname + ", #clientCertificates=" + ((clientCertificates == null) ? "0" : clientCertificates.Count.ToString(NumberFormatInfo.InvariantInfo)) + ", encryptionPolicy=" + encryptionPolicy); 209if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_remote_certificate, (result == null ? "null" : result.ToString(true)))); 303if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_locating_private_key_for_certificate, certificate.ToString(true))); 328if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_cert_is_of_type_2)); 356if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_found_cert_in_store, (m_ServerMode ? "LocalMachine" : "CurrentUser"))); 367if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_found_cert_in_store, (m_ServerMode ? "CurrentUser" : "LocalMachine"))); 375if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_did_not_find_cert_in_store)); 419if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_open_store_failed, storeLocation, exception)); 579if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_got_certificate_from_delegate)); 586if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_no_delegate_and_have_no_client_cert)); 591if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_no_delegate_but_have_client_cert)); 604if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_attempting_restart_using_cert, (clientCertificate == null ? "null" : clientCertificate.ToString(true)))); 615if (Logging.On) 618Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_no_issuers_try_all_certs)); 620Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_server_issuers_look_for_matching_certs, issuers.Length)); 675if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_selected_cert, m_ClientCertificates[i].ToString(true))); 685if (Logging.On) { 686Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_n_certs_after_filtering, filteredCerts.Count)); 688Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_finding_matching_certs)); 738if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_using_cached_credential)); 767if (Logging.On) Logging.PrintInfo(Logging.Web, this, ".AcquireClientCredentials, new SecureCredential() ", "flags=(" + flags + "), m_ProtocolFlags=(" + m_ProtocolFlags + "), m_EncryptionPolicy=" + m_EncryptionPolicy); 1308if (Logging.On) 1448Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_remote_cert_has_errors)); 1450Logging.PrintInfo(Logging.Web, this, "\t" + SR.GetString(SR.net_log_remote_cert_not_available)); 1452Logging.PrintInfo(Logging.Web, this, "\t" + SR.GetString(SR.net_log_remote_cert_name_mismatch)); 1455Logging.PrintInfo(Logging.Web, this, "\t" + chainStatus.StatusInformation); 1460Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_remote_cert_user_declared_valid)); 1462Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_remote_cert_has_no_errors)); 1467Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_remote_cert_user_declared_invalid));
net\System\Net\_ServiceNameStore.cs (11)
56if (Logging.On) 58Logging.PrintInfo(Logging.HttpListener, "ServiceNameStore#" + 69else if (Logging.On) 71Logging.PrintInfo(Logging.HttpListener, "ServiceNameStore#" + 92if (Logging.On) { 94Logging.PrintInfo(Logging.HttpListener, "ServiceNameStore#" + 99Logging.PrintInfo(Logging.HttpListener, "ServiceNameStore#" +
net\System\Net\_ShellExpression.cs (6)
203if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_shell_expression_pattern_format_warning, patString)); 222if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_shell_expression_pattern_format_warning, patString));
net\System\Net\_SSPIWrapper.cs (71)
36if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_sspi_enumerating_security_packages)); 40if (Logging.On) Logging.PrintInfo(Logging.Web, " " + securityPackages[i].Name); 70if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_sspi_security_package_not_found, packageName)); 85if (Logging.On) Logging.PrintInfo( 86Logging.Web, 110if (Logging.On) 118Logging.PrintInfo(Logging.Web, 134if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireDefaultCredential()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 157if (Logging.On) Logging.PrintInfo(Logging.Web, 174if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 182if (Logging.On) Logging.PrintInfo(Logging.Web, 192if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 201if (Logging.On) Logging.PrintInfo(Logging.Web, 218if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 229if (Logging.On) Logging.PrintInfo(Logging.Web, 238if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_sspi_security_context_input_buffer, "InitializeSecurityContext", (inputBuffer == null ? 0 : inputBuffer.size), outputBuffer.size, (SecurityStatus) errorCode)); 244if (Logging.On) Logging.PrintInfo(Logging.Web, 253if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_sspi_security_context_input_buffers, "InitializeSecurityContext", (inputBuffers == null ? 0 : inputBuffers.Length), outputBuffer.size, (SecurityStatus) errorCode)); 261if (Logging.On) Logging.PrintInfo(Logging.Web, 269if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_sspi_security_context_input_buffer, "AcceptSecurityContext", (inputBuffer == null ? 0 : inputBuffer.size), outputBuffer.size, (SecurityStatus) errorCode)); 276if (Logging.On) Logging.PrintInfo(Logging.Web, 284if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_sspi_security_context_input_buffers, "AcceptSecurityContext", (inputBuffers == null ? 0 : inputBuffers.Length), outputBuffer.size, (SecurityStatus) errorCode)); 292if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_operation_returned_something, "CompleteAuthToken()", (SecurityStatus) errorCode)); 301if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_operation_returned_something, "ApplyControlToken()", (SecurityStatus)errorCode)); 479if (Logging.On) 482Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_returned_something, op, "SEC_I_RENEGOTIATE")); 484Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, op, String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode)));
net\System\Net\_TimerThread.cs (6)
576if (Logging.On) Logging.PrintError(Logging.Web, "TimerThreadTimer#" + StartTime.ToString(NumberFormatInfo.InvariantInfo) + "::Fire() - " + SR.GetString(SR.net_log_exception_in_callback, exception)); 734if (Logging.On) Logging.PrintError(Logging.Web, "TimerThread#" + Thread.CurrentThread.ManagedThreadId.ToString(NumberFormatInfo.InvariantInfo) + "::ThreadProc() - Exception:" + exception.ToString());
net\System\Net\_TLSstream.cs (3)
62if (Logging.On) { 63Logging.PrintInfo( 64Logging.Web,
net\System\Net\_WebProxyDataBuilder.cs (6)
99if (Logging.On) Logging.PrintError(Logging.Web, e.Message); 149if (Logging.On) Logging.PrintError(Logging.Web, message);
net\System\Net\Cache\_RequestCacheProtocol.cs (107)
96if(Logging.On) Logging.Enter(Logging.RequestCache, this, "GetRetrieveStatus", request); 128if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "ValidateRequest()", _Validator.ValidationStatus.ToString())); 146if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 149if(Logging.On) Logging.Exit(Logging.RequestCache, this, "GetRetrieveStatus", "result = " + _ProtocolStatus.ToString()); 173if(Logging.On) Logging.Enter(Logging.RequestCache, this, "GetRevalidateStatus", (_Validator == null? null: _Validator.Request)); 179if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_revalidation_not_needed, "GetRevalidateStatus()")); 185if(Logging.On) Logging.Exit(Logging.RequestCache, this, "GetRevalidateStatus", "result = " + _ProtocolStatus.ToString()); 203if(Logging.On) Logging.Enter(Logging.RequestCache, this, "GetUpdateStatus", null); 218if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_cache_protocol_status, "GetUpdateStatus()", _ProtocolStatus.ToString())); 230if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 233if(Logging.On)Logging.Exit(Logging.RequestCache, this, "GetUpdateStatus", "result = " + _ProtocolStatus.ToString()); 258if(Logging.On) Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_closing_cache_stream, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), "Abort()", stream.GetType().FullName, _Validator.CacheKey)); 269if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_exception_ignored, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), "stream.Close()", e.ToString())); 334if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_cache_entry, "ValidateCache()")); 348if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_returned_range_cache, "ValidateCache()", _Validator.CacheStreamOffset, _Validator.CacheStreamLength)); 374if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "ValidateCache()", _Validator.ValidationStatus.ToString())); 386if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 429if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "ValidateResponse()", _Validator.ValidationStatus.ToString())); 441if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 481if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_null_cached_stream, "RevalidateCache()")); 490if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_returned_range_cache, "RevalidateCache()", _Validator.CacheStreamOffset, _Validator.CacheStreamLength)); 502if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_requested_combined_but_null_cached_stream, "RevalidateCache()")); 531if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "RevalidateCache()", _Validator.ValidationStatus.ToString())); 542if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 639if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_unexpected_status, "UpdateCache()", _Validator.ValidationStatus.ToString())); 654if(Logging.On) Logging.PrintInfo(Logging.RequestCache, 662if(Logging.On) Logging.PrintInfo(Logging.RequestCache, "Selected cache Key = " + _Validator.CacheKey); 673if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_entry_not_found_freshness_undefined, "ValidateFreshness()")); 678if(Logging.On) { 679if (Logging.IsVerbose(Logging.RequestCache)) { 680Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_dumping_cache_context)); 683Logging.PrintInfo(Logging.RequestCache, "<null>"); 686string[] context = fetchEntry.ToString(Logging.IsVerbose(Logging.RequestCache)).Split(RequestCache.LineSplits); 690Logging.PrintInfo(Logging.RequestCache, context[i]); 701if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_result, "ValidateFreshness()", result.ToString())); 711if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_result, "ValidateCache()", result.ToString())); 720if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_result, "RevalidateCache()", result.ToString())); 730if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_result, "ValidateResponse()", result.ToString()));
net\System\Net\Cache\_Rfc2616CacheValidators.cs (287)
132if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_uri_with_query_has_no_expiration)); 136if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_uri_with_query_and_cached_resp_from_http_10)); 194if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_valid_as_fresh_or_because_policy, ctx.Policy.ToString())); 214if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_accept_based_on_retry_count, ctx.ResponseCount)); 228if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_date_header_older_than_cache_entry)); 236if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_server_didnt_satisfy_range, ctx.Request.Headers[HttpKnownHeaderNames.Range])); 247if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_304_received_on_unconditional_request)); 254if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_304_received_on_unconditional_request_expected_200_206)); 264if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_last_modified_header_older_than_cache_entry)); 278if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_freshness_outside_policy_limits)); 311if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_need_to_remove_invalid_cache_entry_304)); 316if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_status, resp.StatusCode)); 362if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_304_or_request_head)); 364if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_dont_update_cached_headers)); 377if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_cached_headers)); 386if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_partial_resp_not_combined_with_existing_entry, ctx.CacheEntry.StreamSize, ctx.ResponseRangeStart)); 482if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_request_contains_conditional_header)); 501if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_now_time, DateTime.UtcNow.ToString("r", CultureInfo.InvariantCulture))); 514if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_date_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheDate.ToString("r", CultureInfo.InvariantCulture))); 524if(Logging.On) { 526Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized_age_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture), ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 528Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 536if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age2, ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 567if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_cache_s_max_age, ((int)ctx.CacheMaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 581if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_cache_max_age, ((int)ctx.CacheMaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 605if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_expires_date, ((int)((expiresDate - date).TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo), expiresDate.ToString("r", CultureInfo.InvariantCulture))); 616if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_absolute, expiresDate.ToString("r", CultureInfo.InvariantCulture))); 649if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), lastModifiedDate.ToString("r", CultureInfo.InvariantCulture))); 658if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_default, ((int)(ctx.UnspecifiedMaxAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo))); 677if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_a_get_head_post)); 685if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_cannot_update_cache_if_304)); 690if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_cannot_update_cache_with_head_resp)); 697if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_http_resp_is_null)); 712if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_cache_control_is_no_store)); 736if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_older_than_cache)); 749if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_cache_control_is_public)); 769if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_cache_control_is_private)); 772if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_cache_control_is_private_plus_headers)); 792if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_revalidation_required)); 795if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_needs_revalidation)); 800if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_allows_caching, ctx.ResponseCacheControl.ToString())); 818if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_auth_header_and_no_s_max_age)); 828if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_post_resp_without_cache_control_or_expires)); 850if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_valid_based_on_status_code, (int)resp.StatusCode)); 865if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_no_cache_control, (int)resp.StatusCode)); 883if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age, (ctx.CacheAge != TimeSpan.MinValue ? ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo) : SR.GetString(SR.net_log_unknown)), (ctx.CacheMaxAge != TimeSpan.MinValue? ((int)ctx.CacheMaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo): SR.GetString(SR.net_log_unknown)))); 887if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_min_fresh, ((int)ctx.Policy.MinFresh.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 893if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_max_age, ((int)ctx.Policy.MaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 899if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_cache_sync_date, ctx.Policy.InternalCacheSyncDateUtc.ToString("r", CultureInfo.CurrentCulture), ctx.CacheEntry.LastSynchronizedUtc.ToString(CultureInfo.CurrentCulture))); 908if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_max_stale, ((int)ctx.Policy.MaxStale.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 950if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_control_no_cache)); 962if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_control_no_cache_removing_some_headers)); 988if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_control_must_revalidate)); 1020if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cached_auth_header)); 1025if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cached_auth_header_no_control_directive)); 1044if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_after_validation)); 1047if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_status_304)); 1064if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_head_resp_has_different_content_length)); 1068if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_head_resp_has_different_content_md5)); 1072if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_head_resp_has_different_etag)); 1077if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_304_head_resp_has_different_last_modified)); 1081if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_existing_entry_has_to_be_discarded)); 1099if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_206_resp_non_matching_entry)); 1100if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_existing_entry_should_be_discarded)); 1107if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_206_resp_starting_position_not_adjusted)); 1146if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_combined_resp_requested)); 1189if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_updating_headers_on_304)); 1243if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_suppressing_headers_update_on_304)); 1253if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_status_code_not_304_206)); 1291if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_sxx_resp_cache_only)); 1298if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_sxx_resp_can_be_replaced)); 1344if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_vary_header_empty)); 1349if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_vary_header_contains_asterisks)); 1355if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_headers_in_metadata)); 1388if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_vary_header_mismatched_count, (string)varyValues[i])); 1395if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_vary_header_mismatched_field, (string)varyValues[i], (string)cacheFields[j], (string)requestFields[j])); 1400if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_vary_header_match)); 1430if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range, ctx.Request.Headers[HttpKnownHeaderNames.Range])); 1461if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_range_invalid_format, ranges)); 1474if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_range_not_in_cache, ranges)); 1490if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range_in_cache, ctx.CacheHeaders[HttpKnownHeaderNames.ContentRange])); 1507if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_partial_resp, ctx.CacheHeaders[HttpKnownHeaderNames.ContentRange])); 1512if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_entry_size_too_big, ctx.CacheEntry.StreamSize)); 1519if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range, ctx.Request.Headers[HttpKnownHeaderNames.Range])); 1539if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range_request_range, ctx.Request.Headers[HttpKnownHeaderNames.Range])); 1552if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_could_be_partial, ctx.CacheEntry.StreamSize, ctx.CacheEntityLength)); 1600if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_none_match, ctx.Request.Headers[HttpKnownHeaderNames.IfNoneMatch])); 1615if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_modified_since, ctx.Request.Headers[HttpKnownHeaderNames.IfModifiedSince])); 1618if(Logging.On) { 1620Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_cannot_construct_conditional_request)); 1638if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_entry_size_too_big, ctx.CacheEntry.StreamSize)); 1654if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_range, ctx.Request.Headers[HttpKnownHeaderNames.IfRange])); 1672if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_conditional_range_not_implemented_on_http_10)); 1689if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_range, ctx.Request.Headers[HttpKnownHeaderNames.IfRange])); 1694if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_cannot_construct_conditional_range_request)); 1786if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_saving_request_headers, resp.Headers[HttpKnownHeaderNames.Vary])); 1885if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_only_byte_range_implemented)); 1937if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_multiple_complex_range_not_implemented));
net\System\Net\Cache\FtpRequestCacheValidator.cs (93)
72if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_ftp_proxy_doesnt_support_partial)); 80if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_ftp_method, method)); 103if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_ftp_supports_bin_only)); 124if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_replacing_entry_with_HTTP_200)); 138if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_now_time, nowDate.ToString("r", CultureInfo.InvariantCulture))); 144if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_absolute, CacheEntry.ExpiresUtc.ToString("r", CultureInfo.InvariantCulture))); 156if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 166if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture))); 174if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_default, ((int)(UnspecifiedMaxAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo))); 194if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_validator_invalid_for_policy, Policy.ToString())); 259if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_validator_invalid_for_policy, Policy.ToString())); 284if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_response_last_modified, resp.LastModified.ToUniversalTime().ToString("r", CultureInfo.InvariantCulture), resp.ContentLength)); 285if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cache_last_modified, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), CacheEntry.StreamSize)); 290if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_partial_and_non_zero_content_offset, CacheStreamOffset.ToString(CultureInfo.InvariantCulture))); 340if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_response_valid_based_on_policy, Policy.ToString())); 347if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_null_response_failure)); 351if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_ftp_response_status, ((int)resp.StatusCode).ToString(CultureInfo.InvariantCulture), resp.StatusCode.ToString())); 355if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_resp_valid_based_on_retry, ResponseCount)); 379if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_policy, Request.Method)); 384if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_removed_existing_invalid_entry)); 389if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_policy, Policy.ToString())); 397if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_because_no_response)); 412if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_removed_existing_based_on_method, Request.Method)); 415if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_existing_not_removed_because_unexpected_response_status, (int)resp.StatusCode, resp.StatusCode.ToString())); 420if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_removed_existing_based_on_policy, Policy.ToString())); 434if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_ftp_response_status, FtpStatusCode.OpeningData.ToString() + "|" + FtpStatusCode.DataAlreadyOpen.ToString() + "|" + FtpStatusCode.ClosingData.ToString(), resp.StatusCode.ToString())); 441if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_not_supported_for_ftp_restart, ((FtpWebRequest)Request).ContentOffset.ToString(CultureInfo.InvariantCulture))); 444if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_removed_entry_because_ftp_restart_response_changed, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), resp.LastModified.ToUniversalTime().ToString("r", CultureInfo.InvariantCulture))); 476if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_last_synchronized, CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 481if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_suppress_update_because_synched_last_minute)); 490if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_updating_last_synchronized, CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture)));
net\System\Net\Cache\HttpRequestCacheValidator.cs (50)
193if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_request_method, method)); 222if(Logging.On) { 224Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_http_status_parse_failure, (s == null ? "null" : s))); 227Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_http_status_line, (CacheHttpVersion != null ? CacheHttpVersion.ToString() : "null"), (int)CacheStatusCode, CacheStatusDescription)); 238if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cache_control, CacheCacheControl.ToString())); 252if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_validator_invalid_for_policy, Policy.ToString())); 328if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_validator_invalid_for_policy, Policy.ToString())); 410if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_response_valid_based_on_policy, Policy.ToString())); 417if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_null_response_failure)); 422if(Logging.On) Logging.PrintInfo(Logging.RequestCache, "StatusCode=" + ((int)resp.StatusCode).ToString(CultureInfo.InvariantCulture) + ' ' +resp.StatusCode.ToString() + 444if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_removed_existing_based_on_policy, Policy.ToString())); 448if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_policy, Policy.ToString())); 492if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_invalid_http_version)); 641if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_http_response_header)); 648if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_http_header_parse_error, s)); 666if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_metadata_name_value_parse_error, s)); 801if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_content_range_error, (s==null ? "<null>" : s))); 895if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_cache_control_error, s));
net\System\Net\Cache\IERequestCache.cs (168)
124if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_operation_failed_with_error, "WinInetCache.Remove()", SR.GetString(SR.net_cache_access_denied, "Write"))); 132if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_cannot_remove, "WinInetCache.Remove()", key, win32Exception.Message)); 136if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_status, "WinInetCache.Remove(), ", key, entry.Error.ToString())); 157if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_operation_failed_with_error, "WinInetCache.TryRemove()", SR.GetString(SR.net_cache_access_denied, "Write"))); 164if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_status, "WinInetCache.TryRemove()", key, entry.Error.ToString())); 168if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_remove_failed_status, "WinInetCache.TryRemove()", key, entry.Error.ToString())); 175if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_status, "WinInetCache.TryRemove()", key, entry.Error.ToString())); 176if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_usecount_file, "WinInetCache.TryRemove()", entry.Info.UseCount, entry.Filename)); 187if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key_status, "WinInetCache.TryRemove()", key, entry.Error.ToString())); 213if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_stream, "WinInetCache.UnlockEntry", (stream == null ? "<null>" : stream.GetType().FullName))); 225if(Logging.On) Logging.Enter(Logging.RequestCache, "WinInetCache.Retrieve", "key = " + key); 238if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_filename, "WinInetCache.Retrieve()", entry.Filename, entry.Error)); 315if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_lookup_failed, "WinInetCache.Retrieve()", new Win32Exception((int)entry.Error).Message)); 316if(Logging.On)Logging.Exit(Logging.RequestCache, "WinInetCache.Retrieve()"); 331if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_exception, "WinInetCache.Retrieve()", exception.ToString())); 332if(Logging.On)Logging.Exit(Logging.RequestCache, "WinInetCache.Retrieve()"); 347if(Logging.On)Logging.Exit(Logging.RequestCache, "WinInetCache.Retrieve()", "Status = " + entry.Error.ToString()); 385if(Logging.On) Logging.Enter(Logging.RequestCache, "WinInetCache.Store()", "Key = " + key); 393if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_operation_failed_with_error, "WinInetCache.Store()", SR.GetString(SR.net_cache_access_denied, "Write"))); 394if(Logging.On) Logging.Exit(Logging.RequestCache, "WinInetCache.Store"); 431if(Logging.On) { 432Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_expected_length, entry.OptionalLength)); 433Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_last_modified, (entry.Info.LastModifiedTime.IsNull? "0": DateTime.FromFileTimeUtc(entry.Info.LastModifiedTime.ToLong()).ToString("r")))); 434Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_expires, (entry.Info.ExpireTime.IsNull? "0": DateTime.FromFileTimeUtc(entry.Info.ExpireTime.ToLong()).ToString("r")))); 435Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_stale, (maxStale > TimeSpan.Zero? ((int)maxStale.TotalSeconds).ToString():"n/a"))); 436if (Logging.IsVerbose(Logging.RequestCache)) { 437Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_dumping_metadata)); 439Logging.PrintInfo(Logging.RequestCache, "<null>"); 445Logging.PrintInfo(Logging.RequestCache, s.TrimEnd(LineSplits)); 448Logging.PrintInfo(Logging.RequestCache, "------"); 452Logging.PrintInfo(Logging.RequestCache, s.TrimEnd(LineSplits)); 463if(Logging.On) 465Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_create_failed, new Win32Exception((int)entry.Error).Message)); 466Logging.Exit(Logging.RequestCache, "WinInetCache.Store"); 485if(Logging.On) 487Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_exception, "WinInetCache.Store()", exception)); 488Logging.Exit(Logging.RequestCache, "WinInetCache.Store"); 497if(Logging.On) Logging.Exit(Logging.RequestCache, "WinInetCache.Store", "Filename = " + entry.Filename); 508if(Logging.On) Logging.Enter(Logging.RequestCache, "WinInetCache.Update", "Key = "+ key); 512if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_operation_failed_with_error, "WinInetCache.Update()", SR.GetString(SR.net_cache_access_denied, "Write"))); 513if(Logging.On) Logging.Exit(Logging.RequestCache, "WinInetCache.Update()"); 527if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_set_expires, expiresUtc.ToString("r"))); 533if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_set_last_modified, lastModifiedUtc.ToString("r"))); 539if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_set_last_synchronized, lastSynchronizedUtc.ToString("r"))); 551if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_enable_max_stale, ((int)maxStale.TotalSeconds).ToString())); 555if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_disable_max_stale)); 563if(Logging.On) { 564Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_dumping)); 565if (Logging.IsVerbose(Logging.RequestCache)) { 566Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_dumping)); 570Logging.PrintInfo(Logging.RequestCache, s.TrimEnd(LineSplits)); 573Logging.PrintInfo(Logging.RequestCache, "------"); 577Logging.PrintInfo(Logging.RequestCache, s.TrimEnd(LineSplits)); 587if(Logging.On) 589Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_failed, "WinInetCache.Update()", entry.Key, new Win32Exception((int)entry.Error).Message)); 590Logging.Exit(Logging.RequestCache, "WinInetCache.Update()"); 600if(Logging.On) Logging.Exit(Logging.RequestCache, "WinInetCache.Update()", "Status = " + entry.Error.ToString()); 758if (Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_key, "WinInetReadStream.Close()", m_Key)); 1007if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_commit, "WinInetWriteStream.Close()")); 1016if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_error_deleting_filename, "WinInetWriteStream.Close()", m_Entry.Filename)); 1023if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_delete_failed, "WinInetWriteStream.Close()", m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1057if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_commit_failed, "WinInetWriteStream.Close()", m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1068if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_error_deleting_filename, "WinInetWriteStream.Close()", m_Entry.Filename)); 1079if(Logging.On) 1082Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_committed_as_partial, "WinInetWriteStream.Close()", m_Entry.Key, (m_StreamSize > 0 ? m_StreamSize.ToString(CultureInfo.CurrentCulture) : SR.GetString(SR.net_log_unknown)))); 1083Logging.PrintInfo(Logging.RequestCache, "WinInetWriteStream.Close(), Key = " + m_Entry.Key + ", Commit Status = " + m_Entry.Error.ToString()); 1091if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_failed, "WinInetWriteStream.Close(), Key = " + m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1099if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_stale_and_update_status, "WinInetWriteFile.Close()", m_Entry.Info.U.ExemptDelta, m_Entry.Error.ToString()));
net\System\Net\Cache\RequestCacheValidator.cs (3)
181if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_failing_request_with_exception, webStatus.ToString()));
net\System\Net\connectionpool.cs (6)
284if (Logging.On) { 285Logging.Enter(Logging.Web, "ConnectionPool::ForceCleanup"); 315if (Logging.On) { 316Logging.Exit(Logging.Web, "ConnectionPool::ForceCleanup");
net\System\Net\ConnectionPoolManager.cs (9)
77if (Logging.On) Logging.PrintInfo(Logging.Web, "ConnectionPoolManager::RemoveConnectionPool, groupName=" + groupName); 88if (Logging.On) Logging.PrintInfo(Logging.Web, "ConnectionPoolManager::RemoveConnectionPool, removed connection pool: " + key); 93if (Logging.On) Logging.PrintInfo(Logging.Web, "ConnectionPoolManager::RemoveConnectionPool, no connection pool found: " + key);
net\System\Net\DNS.cs (120)
209if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "GetHostByName", hostName); 262if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "GetHostByName", ipHostEntry); 271if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "GetHostByName", ipHostEntry); 295if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "GetHostByAddress", address); 308if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "GetHostByAddress", ipHostEntry); 329if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "GetHostByAddress", ""); 340if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "GetHostByAddress", ipHostEntry); 374if (Logging.On) Logging.Exception(Logging.Sockets, "DNS", 425if (Logging.On) Logging.Exception(Logging.Sockets, "DNS", "InternalGetHostByAddress", exception); 498if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "Resolve", hostName); 523if (Logging.On) Logging.PrintWarning(Logging.Sockets, "DNS", "DNS.Resolve", ex.Message); 533if (Logging.On) Logging.Exit(Logging.Sockets, "DNS", "Resolve", ipHostEntry); 555if (Logging.On) Logging.Enter(Logging.Sockets, "DNS", "TryInternalResolve", hostName); 825if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "BeginGetHostByName", hostName); 829if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "BeginGetHostByName", asyncResult); 840if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "EndGetHostByName", asyncResult); 844if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "EndGetHostByName", ipHostEntry); 857if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "GetHostEntry", hostNameOrAddress); 884if (Logging.On) Logging.Exit(Logging.Sockets, "DNS", "GetHostEntry", ipHostEntry); 890if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "GetHostEntry", ""); 907if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "GetHostEntry", ipHostEntry); 914if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "GetHostAddresses", hostNameOrAddress); 942if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "GetHostAddresses", addresses); 949if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "BeginGetHostEntry", hostNameOrAddress); 953if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "BeginGetHostEntry", asyncResult); 961if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "BeginGetHostEntry", address); 965if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "BeginGetHostEntry", asyncResult); 971if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "EndGetHostEntry", asyncResult); 975if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "EndGetHostEntry", ipHostEntry); 982if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "BeginGetHostAddresses", hostNameOrAddress); 986if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "BeginGetHostAddresses", asyncResult); 992if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "EndGetHostAddresses", asyncResult); 996if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "EndGetHostAddresses", ipHostEntry); 1003if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "UnsafeBeginGetHostAddresses", hostName); 1007if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "UnsafeBeginGetHostAddresses", asyncResult); 1019if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "BeginResolve", hostName); 1023if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "BeginResolve", asyncResult); 1031if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "EndResolve", asyncResult); 1045if (Logging.On) Logging.PrintWarning(Logging.Sockets, "DNS", "DNS.EndResolve", ex.Message); 1050if(Logging.On)Logging.Exit(Logging.Sockets, "DNS", "EndResolve", ipHostEntry);
net\System\Net\filewebrequest.cs (24)
246if(Logging.On)Logging.Exception(Logging.Web, this, "BeginGetRequestStream", exception); 280if(Logging.On)Logging.Exception(Logging.Web, this, "BeginGetResponse", exception); 318if(Logging.On)Logging.Exception(Logging.Web, this, "EndGetRequestStream", exception); 353if(Logging.On)Logging.Exception(Logging.Web, this, "EndGetResponse", exception); 387if(Logging.On)Logging.Exception(Logging.Web, this, "GetRequestStream", exception); 416if(Logging.On)Logging.Exception(Logging.Web, this, "GetResponse", exception); 516if(Logging.On)Logging.PrintWarning(Logging.Web, NetRes.GetWebStatusString("net_requestaborted", WebExceptionStatus.RequestCanceled)); 542if(Logging.On)Logging.Exception(Logging.Web, this, "Abort", exception);
net\System\Net\FtpWebRequest.cs (114)
519if (Logging.On) Logging.PrintInfo(Logging.Web, this, ".ctor", uri.ToString()); 555if(Logging.On)Logging.Enter(Logging.Web, this, "GetResponse", ""); 556if(Logging.On)Logging.PrintInfo(Logging.Web, this, "GetResponse", SR.GetString(SR.net_log_method_equal, m_MethodInfo.Method)); 604if (Logging.On) Logging.Associate(Logging.Web, this, httpWebRequest); 681if(Logging.On)Logging.Exception(Logging.Web, this, "GetResponse", exception); 687if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_unexpected_exception, "GetResponse()")); 699if(Logging.On)Logging.Exit(Logging.Web, this, "GetResponse", ""); 714if(Logging.On)Logging.Enter(Logging.Web, this, "BeginGetResponse", ""); 715if(Logging.On)Logging.PrintInfo(Logging.Web, this, "BeginGetResponse", SR.GetString(SR.net_log_method_equal, m_MethodInfo.Method)); 739if (Logging.On) Logging.Associate(Logging.Web, this, httpWebRequest); 786if(Logging.On)Logging.Exception(Logging.Web, this, "BeginGetResponse", exception); 793if(Logging.On)Logging.Exit(Logging.Web, this, "BeginGetResponse", ""); 804if(Logging.On)Logging.Enter(Logging.Web, this, "EndGetResponse", ""); 863if(Logging.On)Logging.Exception(Logging.Web, this, "EndGetResponse", exception); 867if(Logging.On)Logging.Exit(Logging.Web, this, "EndGetResponse", ""); 881if(Logging.On)Logging.Enter(Logging.Web, this, "GetRequestStream", ""); 882if(Logging.On)Logging.PrintInfo(Logging.Web, this, "GetRequestStream", SR.GetString(SR.net_log_method_equal, m_MethodInfo.Method)); 919if (Logging.On) Logging.Associate(Logging.Web, this, httpWebRequest); 935if(Logging.On)Logging.Exception(Logging.Web, this, "GetRequestStream", exception); 939if(Logging.On)Logging.Exit(Logging.Web, this, "GetRequestStream", ""); 952if(Logging.On)Logging.Enter(Logging.Web, this, "BeginGetRequestStream", ""); 953if(Logging.On)Logging.PrintInfo(Logging.Web, this, "BeginGetRequestStream", SR.GetString(SR.net_log_method_equal, m_MethodInfo.Method)); 971if (Logging.On) Logging.Associate(Logging.Web, this, httpWebRequest); 989if(Logging.On)Logging.Exception(Logging.Web, this, "BeginGetRequestStream", exception); 997if(Logging.On)Logging.Exit(Logging.Web, this, "BeginGetRequestStream", ""); 1005if(Logging.On)Logging.Enter(Logging.Web, this, "EndGetRequestStream", ""); 1044if(Logging.On)Logging.Exception(Logging.Web, this, "EndGetRequestStream", exception); 1048if(Logging.On)Logging.Exit(Logging.Web, this, "EndGetRequestStream", ""); 1162if (Logging.On) Logging.PrintInfo(Logging.Web, this, "", SR.GetString(SR.net_log_releasing_connection, ValidationHelper.HashString(connection))); 1168if (Logging.On) Logging.Associate(Logging.Web, this, m_Connection); 1267if (Logging.On) Logging.PrintInfo(Logging.Web, this, "", SR.GetString(SR.net_log_releasing_connection, ValidationHelper.HashString(m_Connection))); 1456if (Logging.On) Logging.PrintInfo(Logging.Web, this, "", SR.GetString(SR.net_log_releasing_connection, ValidationHelper.HashString(connection))); 1461if (Logging.On) Logging.Associate(Logging.Web, this, m_Connection); 1622if (Logging.On) Logging.PrintInfo(Logging.Web, this, "", SR.GetString(SR.net_log_releasing_connection, ValidationHelper.HashString(connection))); 1680if(Logging.On)Logging.Enter(Logging.Web, this, "Abort", ""); 1716if(Logging.On)Logging.Exception(Logging.Web, this, "Abort", exception); 1719if(Logging.On)Logging.Exit(Logging.Web, this, "Abort", ""); 2112if(Logging.On)Logging.Exception(Logging.Web, this, "CheckCacheRetrieveOnResponse", CacheProtocol.ProtocolException);
net\System\Net\FtpWebResponse.cs (6)
104if(Logging.On)Logging.Enter(Logging.Web, this, "Close", ""); 113if(Logging.On)Logging.Exit(Logging.Web, this, "Close", "");
net\System\Net\HttpListener.cs (185)
366if(Logging.On)Logging.Enter(Logging.HttpListener, this, "HttpListener", ""); 384if (Logging.On) Logging.Exit(Logging.HttpListener, this, "HttpListener", ""); 515if (Logging.On) Logging.Exception(Logging.HttpListener, this, "HttpSetUrlGroupProperty:: Property: " + 625if(Logging.On)Logging.Enter(Logging.HttpListener, this, "AddPrefix", "uriPrefix:" + uriPrefix); 687if(Logging.On)Logging.Exception(Logging.HttpListener, this, "AddPrefix", exception); 690if(Logging.On)Logging.Exit(Logging.HttpListener, this, "AddPrefix", "prefix:" + registeredPrefix); 696if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Prefixes_get", ""); 706if(Logging.On)Logging.Enter(Logging.HttpListener, this, "RemovePrefix", "uriPrefix:" + uriPrefix); 725if(Logging.On)Logging.Exception(Logging.HttpListener, this, "RemovePrefix", exception); 728if(Logging.On)Logging.Exit(Logging.HttpListener, this, "RemovePrefix", "uriPrefix:" + uriPrefix); 734if(Logging.On)Logging.Enter(Logging.HttpListener, this, "RemoveAll", ""); 752if(Logging.On)Logging.Exit(Logging.HttpListener, this, "RemoveAll", ""); 833if (Logging.On) Logging.Exception(Logging.HttpListener, this, "SetupV2Config", exception); 839if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Start", ""); 877if (Logging.On) Logging.Exception(Logging.HttpListener, this, "Start", exception); 880if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Start", ""); 907if (Logging.On) Logging.PrintError(Logging.HttpListener, this, "CloseV2Config", SR.GetString(SR.net_listener_close_urlgroup_error, statusCode)); 953if (Logging.On) Logging.PrintError(Logging.HttpListener, this, "DetachRequestQueueFromUrlGroup", SR.GetString(SR.net_listener_detach_error, statusCode)); 958if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Stop", ""); 980if(Logging.On)Logging.Exception(Logging.HttpListener, this, "Stop", exception); 983if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Stop", ""); 1021if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Abort", ""); 1039if(Logging.On)Logging.Exception(Logging.HttpListener, this, "Abort", exception); 1043if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Abort", ""); 1049if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Close", ""); 1054if(Logging.On)Logging.Exception(Logging.HttpListener, this, "Close", exception); 1057if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); 1069if (Logging.On) Logging.Enter(Logging.HttpListener, this, "Dispose", ""); 1081if (Logging.On) Logging.Exception(Logging.HttpListener, this, "Dispose", exception); 1085if (Logging.On) Logging.Exit(Logging.HttpListener, this, "Dispose", ""); 1140if(Logging.On)Logging.Enter(Logging.HttpListener, this, "GetContext", ""); 1225if(Logging.On)Logging.Exception(Logging.HttpListener, this, "GetContext", exception); 1233if (Logging.On) Logging.Exit(Logging.HttpListener, this, "GetContext", "HttpListenerContext#" + ValidationHelper.HashString(httpContext) + " RequestTraceIdentifier#" + (httpContext != null ? httpContext.Request.RequestTraceIdentifier.ToString() : "<null>")); 1250if(Logging.On)Logging.Enter(Logging.HttpListener, this, "BeginGetContext", ""); 1270if(Logging.On)Logging.Exception(Logging.HttpListener, this, "BeginGetContext", exception); 1273if(Logging.On)Logging.Enter(Logging.HttpListener, this, "BeginGetContext", "IAsyncResult#" + ValidationHelper.HashString(asyncResult)); 1280if(Logging.On)Logging.Enter(Logging.HttpListener, this, "EndGetContext", "IAsyncResult#" + ValidationHelper.HashString(asyncResult)); 1302if(Logging.On)Logging.Exception(Logging.HttpListener, this, "EndGetContext", exception); 1306if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndGetContext", httpContext == null ? "<no context>" : "HttpListenerContext#" + ValidationHelper.HashString(httpContext) + " RequestTraceIdentifier#" + httpContext.Request.RequestTraceIdentifier); 1420if (Logging.On) Logging.PrintError(Logging.HttpListener, this, "HandleAuthentication", SR.GetString(SR.net_log_listener_delegate_exception, exception)); 1487if (Logging.On) Logging.PrintWarning(Logging.HttpListener, this, "HandleAuthentication", SR.GetString(SR.net_log_listener_unsupported_authentication_scheme, authorizationHeader , authenticationScheme)); 1499if (Logging.On) Logging.PrintWarning(Logging.HttpListener, this, "HandleAuthentication", SR.GetString(SR.net_log_listener_unmatched_authentication_scheme, ValidationHelper.ToString(authenticationScheme), (authorizationHeader == null ? "<null>" : authorizationHeader))); 1780if(Logging.On)Logging.PrintWarning(Logging.HttpListener, this, "HandleAuthentication", SR.GetString(SR.net_log_listener_create_valid_identity_failed)); 2028if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_cbt_disabled)); 2034if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_cbt_http)); 2041if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_cbt_platform)); 2047if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_cbt_trustedproxy)); 2054if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_cbt)); 2063if (Logging.On) 2065Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_spn_kerberos)); 2073if (Logging.On) 2075Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_spn_disabled)); 2082if (Logging.On) 2084Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_spn_cbt)); 2092if (Logging.On) 2094Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_spn_platform)); 2106if (Logging.On) 2108Logging.PrintInfo(Logging.HttpListener, this, 2115if (Logging.On) 2117Logging.PrintInfo(Logging.HttpListener, this, 2125if (Logging.On) 2127Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_no_spn_loopback)); 2134if (Logging.On) 2136Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_spn, clientSpn)); 2143if (Logging.On) 2147Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_spn_passed)); 2151Logging.PrintInfo(Logging.HttpListener, this, SR.GetString(SR.net_log_listener_spn_failed)); 2155Logging.PrintWarning(Logging.HttpListener, this, "CheckSpn", 2160Logging.PrintInfo(Logging.HttpListener, this, 2165Logging.PrintInfo(Logging.HttpListener, this, "\t" + serviceName); 2439if (Logging.On) { 2440Logging.Enter(Logging.HttpListener, "HttpListener#" + ValidationHelper.HashString(this) + 2493if (Logging.On) 2495Logging.PrintError(Logging.HttpListener, "HttpListener#" +
net\System\Net\HttpListenerContext.cs (21)
35if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, ".ctor", "httpListener#" + ValidationHelper.HashString(httpListener) + " requestBlob=" + ValidationHelper.HashString((IntPtr) memoryBlob.RequestBlob)); 59if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Response", ""); 64if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Response", ""); 194if(Logging.On) Logging.Enter(Logging.HttpListener, this, "Close()", ""); 217if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); 221if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Abort", ""); 232if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Abort", "");
net\System\Net\HttpListenerRequest.cs (39)
252if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, ".ctor", "httpContext#" + ValidationHelper.HashString(httpContext) + " memoryBlob# " + ValidationHelper.HashString((IntPtr) memoryBlob.RequestBlob)); 253if(Logging.On)Logging.Associate(Logging.HttpListener, this, httpContext); 282if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, ".ctor", "httpContext#"+ ValidationHelper.HashString(httpContext)+ " RequestUri:" + ValidationHelper.ToString(RequestUri) + " Content-Length:" + ValidationHelper.ToString(ContentLength64) + " HTTP Method:" + ValidationHelper.ToString(HttpMethod)); 284if(Logging.On) { 293Logging.PrintInfo(Logging.HttpListener, this, ".ctor", sb.ToString()); 444if(Logging.On)Logging.Enter(Logging.HttpListener, this, "InputStream_get", ""); 448if(Logging.On)Logging.Exit(Logging.HttpListener, this, "InputStream_get", ""); 606if(Logging.On)Logging.Enter(Logging.HttpListener, this, "GetClientCertificate", ""); 611if(Logging.On)Logging.Exit(Logging.HttpListener, this, "GetClientCertificate", ValidationHelper.ToString(m_ClientCertificate)); 617if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, "BeginGetClientCertificate", ""); 622if(Logging.On)Logging.Enter(Logging.HttpListener, this, "EndGetClientCertificate", ""); 639if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndGetClientCertificate", ValidationHelper.HashString(clientCertificate)); 772if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Close", ""); 780if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", "");
net\System\Net\HttpListenerRequestUriBuilder.cs (3)
499if (Logging.On) 501Logging.PrintWarning(Logging.HttpListener, this, methodName, SR.GetString(message, args));
net\System\Net\HttpListenerResponse.cs (45)
42if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, ".ctor", ""); 54if(Logging.On)Logging.Associate(Logging.HttpListener, this, httpContext); 181if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, "CopyFrom", "templateResponse#"+ValidationHelper.HashString(templateResponse)); 264if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, "AddHeader", " name="+name+" value="+value); 269if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, "AppendHeader", " name="+name+" value="+value); 274if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, "Redirect", " url="+url); 284if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, "AppendCookie", " cookie#"+ValidationHelper.HashString(cookie)); 294if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, "SetCookie", " cookie#"+ValidationHelper.HashString(cookie)); 338if(Logging.On)Logging.Enter(Logging.HttpListener, this, "abort", ""); 347if(Logging.On)Logging.Exit(Logging.HttpListener, this, "abort", ""); 352if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Close", " responseEntity="+ValidationHelper.HashString(responseEntity)+" willBlock="+willBlock); 382if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); 387if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Close", ""); 392if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); 489if(Logging.On) { 498Logging.PrintInfo(Logging.HttpListener, this, ".ctor", sb.ToString());
net\System\Net\HttpSysSettings.cs (3)
114if (Logging.On) 116Logging.PrintWarning(Logging.HttpListener, typeof(HttpSysSettings), methodName,
net\System\Net\HttpWebRequest.cs (110)
1352if (Logging.On) Logging.Enter(Logging.Web, this, "BeginGetRequestStream", ""); 1434if (Logging.On) Logging.Exit(Logging.Web, this, "BeginGetRequestStream", asyncResult); 1465if (Logging.On) Logging.Enter(Logging.Web, this, "EndGetRequestStream", ""); 1488if (Logging.On) Logging.Exception(Logging.Web, this, "EndGetRequestStream", castedAsyncResult.Result as Exception); 1496if (Logging.On) Logging.Exit(Logging.Web, this, "EndGetRequestStream", connectStream); 1536if (Logging.On) Logging.Enter(Logging.Web, this, "GetRequestStream", ""); 1606if (Logging.On) Logging.Exception(Logging.Web, this, "EndGetRequestStream", _WriteAResult.Result as Exception); 1612if (Logging.On) Logging.Exit(Logging.Web, this, "GetRequestStream", connectStream); 1915if (Logging.On) Logging.Enter(Logging.Web, this, "BeginGetResponse", ""); 1989if (Logging.On) Logging.Exit(Logging.Web, this, "BeginGetResponse", _ReadAResult.Result); 2031if (Logging.On) Logging.Exit(Logging.Web, this, "BeginGetResponse", asyncResult); 2057if (Logging.On) Logging.Enter(Logging.Web, this, "EndGetResponse", ""); 2078if (Logging.On) Logging.Exception(Logging.Web, this, "EndGetResponse", castedAsyncResult.Result as Exception); 2085if(Logging.On)Logging.Exit(Logging.Web, this, "EndGetResponse", httpWebResponse); 2155if (Logging.On) Logging.Enter(Logging.Web, this, "GetResponse", ""); 2269if (Logging.On) Logging.Exception(Logging.Web, this, "GetResponse", _ReadAResult.Result as Exception); 2275if(Logging.On)Logging.Exit(Logging.Web, this, "GetResponse", httpWebResponse); 3138if (Logging.On) Logging.Enter(Logging.Web, this, "Abort", (exception == null? "" : exception.Message)); 3238if(Logging.On)Logging.Exit(Logging.Web, this, "Abort", ""); 3304if (Logging.On) Logging.Associate(Logging.Web, this, _ServicePoint); 3374if(Logging.On)Logging.Associate(Logging.Web, this, submitStream); 3743if(Logging.On)Logging.Associate(Logging.Web, this, coreResponseData.m_ConnectStream); 3744if(Logging.On)Logging.Associate(Logging.Web, this, _HttpResponse); 3866if (Logging.On) Logging.Exception(Logging.Web, this, "", webException); 5104if (Logging.On) Logging.PrintInfo(Logging.Web, this, "Request: "+Encoding.ASCII.GetString(WriteBuffer, 0, offset)); 5133if(Logging.On)Logging.Enter(Logging.Web, this, "HttpWebRequest", uri); 5178if(Logging.On)Logging.Exit(Logging.Web, this, "HttpWebRequest", null); 5234if (Logging.On) Logging.Enter(Logging.Web, this, "HttpWebRequest", "uri: '" + uri + "', connectionGroupName: '" + connectionGroupName + "'"); 5246if(Logging.On)Logging.Exit(Logging.Web, this, "HttpWebRequest", null); 5268if(Logging.On)Logging.Enter(Logging.Web, this, "HttpWebRequest", serializationInfo); 5311if(Logging.On)Logging.Exit(Logging.Web, this, "HttpWebRequest", null); 5586if(Logging.On)Logging.PrintWarning(Logging.Web, this, "", SR.GetString(SR.net_log_cache_validation_failed_resubmit)); 5591if(Logging.On)Logging.PrintError(Logging.Web, this, "", SR.GetString(SR.net_log_cache_refused_server_response)); 5612if (Logging.On) 5616Logging.Exception(Logging.Web, this, "", innerException); 5618Logging.PrintWarning(Logging.Web, this, "", message); 5806if(Logging.On)Logging.PrintWarning(Logging.Web, this, "", SR.GetString(SR.net_log_server_response_error_code, ((int)ResponseStatusCode).ToString(NumberFormatInfo.InvariantInfo))); 5921if(Logging.On)Logging.PrintWarning(Logging.Web, this, "", SR.GetString(SR.net_log_resubmitting_request));
net\System\Net\HttpWebResponse.cs (15)
406if(Logging.On)Logging.Enter(Logging.Web, this, "GetResponseStream", ""); 408if(Logging.On)Logging.PrintInfo(Logging.Web, "ContentLength="+m_ContentLength); 427if(Logging.On)Logging.Exit(Logging.Web, this, "GetResponseStream", result); 440if(Logging.On)Logging.Enter(Logging.Web, this, "Close", ""); 469if(Logging.On)Logging.Exit(Logging.Web, this, "Close", "");
net\System\Net\Internal.cs (15)
719if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_osinstalltype, InstallationType)); 733if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_empty_osinstalltype, OSInstallTypeRegKey + "\\" + OSInstallTypeRegName)); 755if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_unknown_osinstalltype, installType)); 770if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_cant_determine_osinstalltype, OSInstallTypeRegKey, e.Message)); 775if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_cant_determine_osinstalltype, OSInstallTypeRegKey, e.Message));
net\System\Net\Logging.cs (1)
633return Logging.SupportedAttributes;
net\System\Net\mail\HeaderCollection.cs (15)
24if(Logging.On)Logging.PrintInfo(Logging.Web, this, "Remove", name); 44if(Logging.On)Logging.PrintInfo(Logging.Web, this, "Get", name); 64if(Logging.On)Logging.PrintInfo(Logging.Web, this, "Get", name); 102if(Logging.On)Logging.PrintInfo(Logging.Web, this, "Set", name.ToString() + "=" + value.ToString()); 137if(Logging.On)Logging.PrintInfo(Logging.Web, this, "Add", name.ToString() + "=" + value.ToString());
net\System\Net\mail\MailMessage.cs (6)
39if(Logging.On)Logging.Associate(Logging.Web, this, message); 61if(Logging.On)Logging.Associate(Logging.Web, this, message);
net\System\Net\mail\Message.cs (6)
194if(Logging.On)Logging.Associate(Logging.Web, this, headers); 214if(Logging.On)Logging.Associate(Logging.Web, this, envelopeHeaders);
net\System\Net\mail\SmtpClient.cs (54)
71if (Logging.On) Logging.Enter(Logging.Web, "SmtpClient", ".ctor", ""); 75if (Logging.On) Logging.Exit(Logging.Web, "SmtpClient", ".ctor", this); 80if (Logging.On) Logging.Enter(Logging.Web, "SmtpClient", ".ctor", "host=" + host); 85if (Logging.On) Logging.Exit(Logging.Web, "SmtpClient", ".ctor", this); 91if (Logging.On) Logging.Enter(Logging.Web, "SmtpClient", ".ctor", "host=" + host + ", port=" + port); 101if (Logging.On) Logging.Exit(Logging.Web, "SmtpClient", ".ctor", this); 114if (Logging.On) Logging.Associate(Logging.Web, this, transport); 395if (Logging.On) Logging.PrintInfo(Logging.Web, "SmtpClient.Send() pickupDirectory=" + pickupDirectory); 436if (Logging.On) Logging.Enter(Logging.Web, this, "Send", message); 441if (Logging.On) Logging.PrintInfo(Logging.Web, this, "Send", "DeliveryMethod=" + DeliveryMethod.ToString()); 442if (Logging.On) Logging.Associate(Logging.Web, this, message); 528if (Logging.On) Logging.Exception(Logging.Web, this, "Send", e); 557if (Logging.On) Logging.Exit(Logging.Web, this, "Send", null); 577if (Logging.On) Logging.Enter(Logging.Web, this, "SendAsync", "DeliveryMethod=" + DeliveryMethod.ToString()); 672if (Logging.On) Logging.Exception(Logging.Web, this, "Send", e); 693if (Logging.On) Logging.Exit(Logging.Web, this, "SendAsync", null); 703if (Logging.On) Logging.Enter(Logging.Web, this, "SendAsyncCancel", null); 713if (Logging.On) Logging.Exit(Logging.Web, this, "SendAsyncCancel", null);
net\System\Net\mail\smtpconnection.cs (12)
166if (Logging.On) Logging.Associate(Logging.Web, this, servicePoint); 322if (Logging.On) Logging.Associate(Logging.Web, this, servicePoint); 335if (Logging.On) Logging.Associate(Logging.Web, this, pooledStream); 623if (Logging.On) Logging.Associate(Logging.Web, ConnectAndHandshakeAsyncResult.connection, pooledStream);
net\System\Net\mail\SmtpLoginAuthenticationModule.cs (6)
36if(Logging.On)Logging.Enter(Logging.Web, this, "Authenticate", null); 69if(Logging.On)Logging.Exit(Logging.Web, this, "Authenticate", null);
net\System\Net\mail\SmtpNegotiateAuthenticationModule.cs (6)
32if(Logging.On)Logging.Enter(Logging.Web, this, "Authenticate", null); 87if(Logging.On)Logging.Exit(Logging.Web, this, "Authenticate", null);
net\System\Net\mail\SmtpNtlmAuthenticationModule.cs (6)
38if(Logging.On)Logging.Enter(Logging.Web, this, "Authenticate", null); 69if(Logging.On)Logging.Exit(Logging.Web, this, "Authenticate", null);
net\System\Net\mail\SmtpTransport.cs (12)
39if (Logging.On) { 40Logging.Enter(Logging.Web, "SmtpPooledStream::Dispose #" + ValidationHelper.HashString(this)); 55if (Logging.On) { 56Logging.Exit(Logging.Web, "SmtpPooledStream::Dispose #" + ValidationHelper.HashString(this)); 203if(Logging.On)Logging.Associate(Logging.Web, this, connection); 226if(Logging.On)Logging.Associate(Logging.Web, this, connection);
net\System\Net\NetWebProxyFinder.cs (12)
72if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_script_execution_error, exception)); 371if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_script_download_compile_error, exception)); 524if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_autodetect_script_location_parse_error, ValidationHelper.ToString(url))); 530if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_autodetect_failed));
net\System\Net\NetworkInformation\NetworkAddressChange.cs (3)
201if (Logging.On) Logging.Exception(Logging.Web, "AddressChangeListener", "AddressChangedCallback", nie);
net\System\Net\NetworkInformation\SystemNetworkInterface.cs (3)
67if (Logging.On) Logging.Exception(Logging.Web, "SystemNetworkInterface", "InternalGetIsNetworkAvailable", nie);
net\System\Net\SecureProtocols\_SslState.cs (6)
582if (lazyResult == null && Logging.On) 584Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_sspi_selected_cipher_suite, 712if (Logging.On) 714Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_sspi_selected_cipher_suite,
net\System\Net\ServicePoint.cs (44)
109if (Logging.On) Logging.Enter(Logging.Web, this, "ServicePoint", address.DnsSafeHost + ":" + address.Port); 145if (Logging.On) Logging.Enter(Logging.Web, this, "ServicePoint", host + ":" + port); 651if (Logging.On) Logging.PrintInfo(Logging.Web, this, "CloseConnectionGroup", connectionGroupName); 657if (Logging.On) Logging.PrintInfo(Logging.Web, this, "CloseConnectionGroupInternal", connectionGroupName); 663if (Logging.On) Logging.PrintInfo(Logging.Web, this, "CloseConnectionGroupHelper", "connectionGroupName=" + connectionGroupName + ", closeInternal=" + closeInternal); 742if (Logging.On) Logging.PrintInfo(Logging.Web, this, "CloseConnectionGroupHelper, returning", released.ToString()); 1116if (Logging.On) Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_closed_idle, 1134if (Logging.On) Logging.PrintInfo(Logging.Web, this, "ReleaseConnectionGroup", connName); 1148if (Logging.On) Logging.PrintInfo(Logging.Web, this, "ReleaseConnectionGroup, returning", "false"); 1167if (Logging.On) Logging.PrintInfo(Logging.Web, this, "ReleaseConnectionGroup, returning", "true"); 1330if (Logging.On) { 1331Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_set_socketoption_reuseport, 1339if (Logging.On) { 1340Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_set_socketoption_reuseport_not_supported, 1347if (Logging.On) { 1348Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_unexpected_exception, ex.Message)); 1716if (Logging.On) 1718Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_retrieving_localhost_exception, exception)); 1719Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_resolved_servicepoint_may_not_be_remote_server));
net\System\Net\ServicePointManager.cs (3)
234if (Logging.On) Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_closed_idle,
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (6)
55if(Logging.On)LogBuffer((long)numBytes); 139GlobalLog.Assert(Logging.On, "AcceptOverlappedAsyncResult#{0}::LogBuffer()|Logging is off!", ValidationHelper.HashString(this)); 143Logging.Dump(Logging.Sockets, m_ListenSocket, "PostCompletion", pinnedBuffer, (int)Math.Min(size, (long)m_Buffer.Length)); 146Logging.Dump(Logging.Sockets, m_ListenSocket, "PostCompletion", pinnedBuffer, (int)m_Buffer.Length);
net\System\Net\Sockets\_OverlappedAsyncResult.cs (6)
184if(Logging.On)LogBuffer(numBytes); 190GlobalLog.Assert(Logging.On, "OverlappedAsyncResult#{0}::LogBuffer()|Logging is off!", ValidationHelper.HashString(this)); 194Logging.Dump(Logging.Sockets, AsyncObject, "PostCompletion", wsaBuffer.Pointer, Math.Min(wsaBuffer.Length, size)); 200Logging.Dump(Logging.Sockets, AsyncObject, "PostCompletion", m_SingleBuffer.Pointer, Math.Min(m_SingleBuffer.Length, size));
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (4)
190if(Logging.On)LogBuffer(numBytes); 196GlobalLog.Assert(Logging.On, "ReceiveMessageOverlappedAsyncResult#{0}::LogBuffer()|Logging is off!", ValidationHelper.HashString(this)); 197Logging.Dump(Logging.Sockets, AsyncObject, "PostCompletion", m_WSABuffer->Pointer, Math.Min(m_WSABuffer->Length, size));
net\System\Net\Sockets\Socket.cs (442)
142s_LoggingEnabled = Logging.On; 143if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Socket", addressFamily); 166if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Socket", null); 171s_LoggingEnabled = Logging.On; 172if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Socket", addressFamily); 252if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Socket", null); 263s_LoggingEnabled = Logging.On; 264if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Socket", null); 285if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Socket", null); 370if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "Available", socketException); 419if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "LocalEndPoint", socketException); 466if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "RemoteEndPoint", socketException); 529if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "Blocking", socketException); 848if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Bind", localEP); 911if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Bind", ""); 916if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "InternalBind", localEP); 934if (s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "InternalBind", ""); 945if (s_LoggingEnabled) Logging.Exception(Logging.Sockets, this, "DoBind", socketException); 973if (s_LoggingEnabled) Logging.Exception(Logging.Sockets, this, "DoBind", socketException); 1041if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Connect", address); 1060if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Connect", null); 1065if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Connect", host); 1082if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Connect", null); 1086if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Connect", addresses); 1129if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Connect", null); 1141if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "Close", null); 1143if (s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "Close", null); 1164if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Listen", backlog); 1196if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "Listen", socketException); 1200if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Listen", ""); 1210if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Accept", ""); 1252if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "Accept", socketException); 1258Logging.PrintInfo(Logging.Sockets, socket, SR.GetString(SR.net_log_socket_accepted, socket.RemoteEndPoint, socket.LocalEndPoint)); 1259Logging.Exit(Logging.Sockets, this, "Accept", socket); 1307if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Send", ""); 1377Logging.Exception(Logging.Sockets, this, "Send", new SocketException(errorCode)); 1378Logging.Exit(Logging.Sockets, this, "Send", 0); 1394if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Send", bytesTransferred); 1420if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "SendFile", ""); 1485if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "SendFile", socketException); 1494if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "SendFile", errorCode); 1519if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Send", ""); 1568Logging.Exception(Logging.Sockets, this, "Send", new SocketException(errorCode)); 1569Logging.Exit(Logging.Sockets, this, "Send", 0); 1588if(s_LoggingEnabled)Logging.Dump(Logging.Sockets, this, "Send", buffer, offset, size); 1589if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Send", bytesTransferred); 1599if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "SendTo", ""); 1664if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "SendTo", socketException); 1689if(s_LoggingEnabled)Logging.Dump(Logging.Sockets, this, "SendTo", buffer, offset, size); 1690if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "SendTo", bytesTransferred); 1749if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Receive", ""); 1791Logging.Exception(Logging.Sockets, this, "Receive", new SocketException(errorCode)); 1792Logging.Exit(Logging.Sockets, this, "Receive", 0); 1820if(s_LoggingEnabled)Logging.Dump(Logging.Sockets, this, "Receive", buffer, offset, bytesTransferred); 1821if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Receive", bytesTransferred); 1842if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Receive", ""); 1912Logging.Exception(Logging.Sockets, this, "Receive", new SocketException(errorCode)); 1913Logging.Exit(Logging.Sockets, this, "Receive", 0); 1942if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Receive", bytesTransferred); 1955if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "ReceiveMessageFrom", ""); 2028if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "ReceiveMessageFrom", socketException); 2051if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "ReceiveMessageFrom", errorCode); 2060if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "ReceiveFrom", ""); 2115if (s_LoggingEnabled) Logging.Exception(Logging.Sockets, this, "ReceiveFrom", socketException); 2154if(s_LoggingEnabled)Logging.Dump(Logging.Sockets, this, "ReceiveFrom", buffer, offset, size); 2155if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "ReceiveFrom", bytesTransferred); 2219if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "IOControl", socketException); 2272if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "IOControl", socketException); 2341if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "SetSocketOption", socketException); 2450if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "GetSocketOption", socketException); 2488if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "GetSocketOption", socketException); 2524if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "GetSocketOption", socketException); 2586if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "Poll", socketException); 2727if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginConnect", remoteEP); 2779if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginConnect", asyncResult); 2793if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "DuplicateAndClose", null); 2819if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "DuplicateAndClose", socketException); 2833if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "DuplicateAndClose", null); 2940if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginConnect", socketException); 3079if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginConnect", host); 3109if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginConnect", result); 3121if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginConnect", address); 3139if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginConnect", result); 3146if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginConnect", addresses); 3189if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginConnect", result); 3218if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginDisconnect",null); 3257if(s_LoggingEnabled)Logging.Exception(Logging.Sockets,this,"BeginDisconnect", socketException); 3262if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginDisconnect", asyncResult); 3269if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Disconnect",null); 3298if(s_LoggingEnabled)Logging.Exception(Logging.Sockets,this,"Disconnect", socketException); 3305if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Disconnect", null); 3329if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "EndConnect", asyncResult); 3343Logging.Exit(Logging.Sockets, this, "EndConnect", ""); 3349if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndDisconnect", asyncResult); 3389if(s_LoggingEnabled)Logging.Exception(Logging.Sockets,this,"EndDisconnect", socketException); 3393if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "EndDisconnect", null); 3439if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginSend", ""); 3477if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginSend", asyncResult); 3484if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "UnsafeBeginSend", ""); 3498if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "UnsafeBeginSend", asyncResult); 3550if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginSend", new SocketException(errorCode)); 3594if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginSendFile", ""); 3672if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginSendFile", socketException); 3678if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginSendFile", errorCode); 3703if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginSend", ""); 3735if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginSend", asyncResult); 3784if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginSend", new SocketException(errorCode)); 3822if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndSend", asyncResult); 3868Logging.Exception(Logging.Sockets, this, "EndSend", new SocketException(errorCode)); 3869Logging.Exit(Logging.Sockets, this, "EndSend", 0); 3873if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "EndSend", bytesTransferred); 3883if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndSendFile", asyncResult); 3927if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "EndSendFile", socketException); 3930if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "EndSendFile",""); 3967if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginSendTo", ""); 4003if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginSendTo", asyncResult); 4065if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginSendTo", socketException); 4092if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndSendTo", asyncResult); 4138if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "EndSendTo", socketException); 4141if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "EndSendTo", bytesTransferred); 4194if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginReceive", ""); 4230if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginReceive", asyncResult); 4237if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "UnsafeBeginReceive", ""); 4247if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "UnsafeBeginReceive", asyncResult); 4299if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginReceive", new SocketException(errorCode)); 4331if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginReceive", ""); 4365if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginReceive", asyncResult); 4415if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginReceive", new SocketException(errorCode)); 4467if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndReceive", asyncResult); 4520Logging.Exception(Logging.Sockets, this, "EndReceive", new SocketException(errorCode)); 4521Logging.Exit(Logging.Sockets, this, "EndReceive", 0); 4525if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "EndReceive", bytesTransferred); 4532if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "BeginReceiveMessageFrom", ""); 4636if (s_LoggingEnabled) Logging.Exception(Logging.Sockets, this, "BeginReceiveMessageFrom", socketException); 4652if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginReceiveMessageFrom", asyncResult); 4658if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndReceiveMessageFrom", asyncResult); 4721if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "EndReceiveMessageFrom", socketException); 4728if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "EndReceiveMessageFrom", bytesTransferred); 4769if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "BeginReceiveFrom", ""); 4821if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginReceiveFrom", asyncResult); 4885if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginReceiveFrom", socketException); 4915if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndReceiveFrom", asyncResult); 4981if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "EndReceiveFrom", socketException); 4984if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "EndReceiveFrom", bytesTransferred); 5024if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginAccept", ""); 5039if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginAccept", asyncResult); 5152if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginAccept", socketException); 5352if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginAccept", ""); 5374if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginAccept", asyncResult); 5441if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginAccept", socketException); 5474if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndAccept", asyncResult); 5523if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "EndAccept", socketException); 5530Logging.PrintInfo(Logging.Sockets, acceptedSocket, 5532Logging.Exit(Logging.Sockets, this, "EndAccept", result); 5558if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndAccept", asyncResult); 5601if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "EndAccept", socketException); 5614Logging.PrintInfo(Logging.Sockets, socket, SR.GetString(SR.net_log_socket_accepted, socket.RemoteEndPoint, socket.LocalEndPoint)); 5615Logging.Exit(Logging.Sockets, this, "EndAccept", socket); 5632if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Shutdown", how); 5658if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "Shutdown", socketException ); 5664if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "Shutdown", ""); 6071if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "InternalBeginConnectHostName", host); 6089if (s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "InternalBeginConnectHostName", result); 6095if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "InternalEndConnect", asyncResult); 6154if (s_LoggingEnabled) Logging.Exception(Logging.Sockets, this, "InternalEndConnect", (Exception)castedAsyncResult.Result); 6162if (s_LoggingEnabled) Logging.Exception(Logging.Sockets, this, "InternalEndConnect", socketException); 6167Logging.PrintInfo(Logging.Sockets, this, SR.GetString(SR.net_log_socket_connected, LocalEndPoint, RemoteEndPoint)); 6168Logging.Exit(Logging.Sockets, this, "InternalEndConnect", ""); 6181if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "Connect", endPointSnapshot); 6210if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "Connect", socketException); 6228Logging.PrintInfo(Logging.Sockets, this, SR.GetString(SR.net_log_socket_connected, LocalEndPoint, RemoteEndPoint)); 6229Logging.Exit(Logging.Sockets, this, "Connect", ""); 6244if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "Dispose", null); 6260if (s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "Dispose", null); 6514if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "SetSocketOption", socketException); 6568if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "setMulticastOption", socketException); 6606if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "setIPv6MulticastOption", socketException); 6637if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "setLingerOption", socketException); 6665if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "getLingerOpt", socketException); 6696if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "getMulticastOpt", socketException); 6749if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "getIPv6MulticastOpt", socketException); 6878if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginConnectEx", ""); 6965if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginConnectEx", socketException); 6974if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginConnectEx", asyncResult); 6980if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "MultipleSend", ""); 7027if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "MultipleSend", socketException); 7031if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "MultipleSend", ""); 7214if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "BeginMultipleSend", ""); 7265if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "BeginMultipleSend", socketException); 7268if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "BeginMultipleSend", asyncResult); 7272if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndMultipleSend", asyncResult); 7311if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "EndMultipleSend", socketException); 7314if(s_LoggingEnabled)Logging.Exit(Logging.Sockets, this, "EndMultipleSend", bytesTransferred); 7436if (s_LoggingEnabled) Logging.PrintError(Logging.Sockets, this, "UpdateStatusAfterSocketError", errorCode.ToString()); 7682if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "AcceptAsync", ""); 7752if(s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "AcceptAsync", retval); 7763if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "ConnectAsync", ""); 7790if (s_LoggingEnabled) Logging.PrintInfo(Logging.Sockets, "Socket#" + ValidationHelper.HashString(this) 7863if(s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "ConnectAsync", retval); 7871if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, null, "ConnectAsync", ""); 7905if (s_LoggingEnabled) Logging.Exit(Logging.Sockets, null, "ConnectAsync", retval); 7924if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "DisconnectAsync", ""); 7961if(s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "DisconnectAsync", retval); 7973if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "ReceiveAsync", ""); 8034if(s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "ReceiveAsync", retval); 8045if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "ReceiveFromAsync", ""); 8126if(s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "ReceiveFromAsync", retval); 8137if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "ReceiveMessageFromAsync", ""); 8203if(s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "ReceiveMessageFromAsync", retval); 8215if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "SendAsync", ""); 8276if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "SendAsync", retval); 8288if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "SendPacketsAsync", ""); 8346if(s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "SendPacketsAsync", retval); 8358if(s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "SendToAsync", ""); 8432if(s_LoggingEnabled) Logging.Exit(Logging.Sockets, this, "SendToAsync", retval); 8705private static bool s_LoggingEnabled = Logging.On; 9677Logging.Dump(Logging.Sockets, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)", m_AcceptBuffer, 0, size); 9680Logging.Dump(Logging.Sockets, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)", m_Buffer, m_Offset, size); 9684Logging.Dump(Logging.Sockets, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)", wsaBuffer.Pointer, Math.Min(wsaBuffer.Length, size)); 9699Logging.Dump(Logging.Sockets, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)Buffer", spe.m_Buffer, spe.m_Offset, Math.Min(spe.m_Count, size)); 9702Logging.PrintInfo(Logging.Sockets, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)", SR.GetString(SR.net_log_socket_not_logged_file, spe.m_FilePath)); 9848if (s_LoggingEnabled) Logging.PrintInfo(Logging.Sockets, m_AcceptSocket, 9882if (s_LoggingEnabled) Logging.PrintInfo(Logging.Sockets, m_CurrentSocket,
net\System\Net\Sockets\TCPClient.cs (99)
38if(Logging.On)Logging.Enter(Logging.Sockets, this, "TcpClient", localEP); 49if(Logging.On)Logging.Exit(Logging.Sockets, this, "TcpClient", ""); 62if(Logging.On)Logging.Enter(Logging.Sockets, this, "TcpClient", null); 63if(Logging.On)Logging.Exit(Logging.Sockets, this, "TcpClient", null); 76if(Logging.On)Logging.Enter(Logging.Sockets, this, "TcpClient", family); 87if(Logging.On)Logging.Exit(Logging.Sockets, this, "TcpClient", null); 96if(Logging.On)Logging.Enter(Logging.Sockets, this, "TcpClient", hostname); 125if(Logging.On)Logging.Exit(Logging.Sockets, this, "TcpClient", null); 132if(Logging.On)Logging.Enter(Logging.Sockets, this, "TcpClient", acceptedSocket); 135if(Logging.On)Logging.Exit(Logging.Sockets, this, "TcpClient", null); 186if(Logging.On)Logging.Enter(Logging.Sockets, this, "Connect", hostname); 309if(Logging.On)Logging.Exit(Logging.Sockets, this, "Connect", null); 318if(Logging.On)Logging.Enter(Logging.Sockets, this, "Connect", address); 330if(Logging.On)Logging.Exit(Logging.Sockets, this, "Connect", null); 339if(Logging.On)Logging.Enter(Logging.Sockets, this, "Connect", remoteEP); 348if(Logging.On)Logging.Exit(Logging.Sockets, this, "Connect", null); 355if(Logging.On)Logging.Enter(Logging.Sockets, this, "Connect", ipAddresses); 358if(Logging.On)Logging.Exit(Logging.Sockets, this, "Connect", null); 365if(Logging.On)Logging.Enter(Logging.Sockets, this, "BeginConnect", host); 367if(Logging.On)Logging.Exit(Logging.Sockets, this, "BeginConnect", null); 374if(Logging.On)Logging.Enter(Logging.Sockets, this, "BeginConnect", address); 376if(Logging.On)Logging.Exit(Logging.Sockets, this, "BeginConnect", null); 384if(Logging.On)Logging.Enter(Logging.Sockets, this, "BeginConnect", addresses); 386if(Logging.On)Logging.Exit(Logging.Sockets, this, "BeginConnect", null); 392if(Logging.On)Logging.Enter(Logging.Sockets, this, "EndConnect", asyncResult); 395if(Logging.On)Logging.Exit(Logging.Sockets, this, "EndConnect", null); 426if(Logging.On)Logging.Enter(Logging.Sockets, this, "GetStream", ""); 436if(Logging.On)Logging.Exit(Logging.Sockets, this, "GetStream", m_DataStream); 447if(Logging.On)Logging.Enter(Logging.Sockets, this, "Close", ""); 450if(Logging.On)Logging.Exit(Logging.Sockets, this, "Close", ""); 456if(Logging.On)Logging.Enter(Logging.Sockets, this, "Dispose", ""); 458if(Logging.On)Logging.Exit(Logging.Sockets, this, "Dispose", ""); 492if(Logging.On)Logging.Exit(Logging.Sockets, this, "Dispose", "");
net\System\Net\Sockets\TCPListener.cs (69)
34if(Logging.On)Logging.Enter(Logging.Sockets, this, "TcpListener", localEP); 40if(Logging.On)Logging.Exit(Logging.Sockets, this, "TcpListener", null); 50if(Logging.On)Logging.Enter(Logging.Sockets, this, "TcpListener", localaddr); 59if(Logging.On)Logging.Exit(Logging.Sockets, this, "TcpListener", null); 84if (Logging.On) Logging.Enter(Logging.Sockets, "TcpListener.Create", "Port: " + port); 93if (Logging.On) Logging.Exit(Logging.Sockets, "TcpListener.Create", "Port: " + port); 173if(Logging.On)Logging.Enter(Logging.Sockets, this, "Start", null); 181if(Logging.On)Logging.Exit(Logging.Sockets, this, "Start", null); 195if(Logging.On)Logging.Exit(Logging.Sockets, this, "Start", null); 205if(Logging.On)Logging.Enter(Logging.Sockets, this, "Stop", null); 219if(Logging.On)Logging.Exit(Logging.Sockets, this, "Stop", null); 241if(Logging.On)Logging.Enter(Logging.Sockets, this, "AcceptSocket", null); 245if(Logging.On)Logging.Exit(Logging.Sockets, this, "AcceptSocket", socket); 254if(Logging.On)Logging.Enter(Logging.Sockets, this, "AcceptTcpClient", null); 260if(Logging.On)Logging.Exit(Logging.Sockets, this, "AcceptTcpClient", returnValue); 271if(Logging.On)Logging.Enter(Logging.Sockets, this, "BeginAcceptSocket", null); 276if(Logging.On)Logging.Exit(Logging.Sockets, this, "BeginAcceptSocket", null); 281if(Logging.On)Logging.Enter(Logging.Sockets, this, "EndAcceptSocket", null); 298if(Logging.On)Logging.Exit(Logging.Sockets, this, "EndAcceptSocket", socket); 305if(Logging.On)Logging.Enter(Logging.Sockets, this, "BeginAcceptTcpClient", null); 309if(Logging.On)Logging.Exit(Logging.Sockets, this, "BeginAcceptTcpClient", null); 314if(Logging.On)Logging.Enter(Logging.Sockets, this, "EndAcceptTcpClient", null); 331if(Logging.On)Logging.Exit(Logging.Sockets, this, "EndAcceptTcpClient", socket);
net\System\Net\UnsafeNativeMethods.cs (6)
224if (Logging.On) 225Logging.PrintInfo(Logging.Web, SR.GetString(SR.net_log_proxy_ras_supported, s_RasSupported)); 2954if (Logging.On) Logging.PrintWarning(Logging.HttpListener, SR.GetString(SR.net_listener_cbt_not_supported));
net\System\Net\webclient.cs (111)
330if(Logging.On)Logging.Enter(Logging.Web, this, "DownloadData", address); 338if(Logging.On)Logging.Exit(Logging.Web, this, "DownloadData", result); 349if(Logging.On)Logging.Enter(Logging.Web, this, "DownloadData", address); 384if(Logging.On)Logging.Enter(Logging.Web, this, "DownloadFile", address+", "+fileName); 422if(Logging.On)Logging.Exit(Logging.Web, this, "DownloadFile", ""); 436if(Logging.On)Logging.Enter(Logging.Web, this, "OpenRead", address); 445if(Logging.On)Logging.Exit(Logging.Web, this, "OpenRead", stream); 487if(Logging.On)Logging.Enter(Logging.Web, this, "OpenWrite", address +", "+method); 500if(Logging.On)Logging.Exit(Logging.Web, this, "OpenWrite", webClientWriteStream); 542if(Logging.On)Logging.Enter(Logging.Web, this, "UploadData", address +", "+method); 554if(Logging.On)Logging.Exit(Logging.Web, this, "UploadData", result); 694if(Logging.On)Logging.Enter(Logging.Web, this, "UploadFile", address +", "+method); 714if(Logging.On)Logging.Exit(Logging.Web, this, "UploadFile", responseBytes); 790if(Logging.On)Logging.Enter(Logging.Web, this, "UploadValues", address +", "+method); 806if(Logging.On)Logging.Exit(Logging.Web, this, "UploadValues", address +", "+method); 852if(Logging.On)Logging.Enter(Logging.Web, this, "UploadString", address +", "+method); 866if(Logging.On)Logging.Exit(Logging.Web, this, "UploadString", responseStringData); 883if(Logging.On)Logging.Enter(Logging.Web, this, "DownloadString", address); 891if(Logging.On)Logging.Exit(Logging.Web, this, "DownloadString", stringData); 1830if(Logging.On)Logging.Enter(Logging.Web, this, "OpenReadAsync", address); 1851if(Logging.On)Logging.Exit(Logging.Web, this, "OpenReadAsync", null); 1908if(Logging.On)Logging.Enter(Logging.Web, this, "OpenWriteAsync", address +", "+method); 1933if(Logging.On)Logging.Exit(Logging.Web, this, "OpenWriteAsync", null); 1980if(Logging.On)Logging.Enter(Logging.Web, this, "DownloadStringAsync", address); 1999if(Logging.On)Logging.Exit(Logging.Web, this, "DownloadStringAsync", ""); 2034if(Logging.On)Logging.Enter(Logging.Web, this, "DownloadDataAsync", address); 2053if(Logging.On)Logging.Exit(Logging.Web, this, "DownloadDataAsync", null); 2089if(Logging.On)Logging.Enter(Logging.Web, this, "DownloadFileAsync", address); 2115if(Logging.On)Logging.Exit(Logging.Web, this, "DownloadFileAsync", null); 2199if(Logging.On)Logging.Enter(Logging.Web, this, "UploadStringAsync", address); 2234if(Logging.On)Logging.Exit(Logging.Web, this, "UploadStringAsync", null); 2290if(Logging.On)Logging.Enter(Logging.Web, this, "UploadDataAsync", address +", "+method); 2330if(Logging.On)Logging.Exit(Logging.Web, this, "UploadDataAsync", null); 2391if(Logging.On)Logging.Enter(Logging.Web, this, "UploadFileAsync", address +", "+method); 2433if(Logging.On)Logging.Exit(Logging.Web, this, "UploadFileAsync", null); 2489if(Logging.On)Logging.Enter(Logging.Web, this, "UploadValuesAsync", address +", "+method); 2529if(Logging.On)Logging.Exit(Logging.Web, this, "UploadValuesAsync", null);
net\System\Net\WebRequest.cs (9)
118if(Logging.On)Logging.Enter(Logging.Web, "WebRequest", "Create", requestUri.ToString()); 193if(Logging.On)Logging.Exit(Logging.Web, "WebRequest", "Create", webRequest); 197if(Logging.On)Logging.Exit(Logging.Web, "WebRequest", "Create", null);
net\System\Net\WebSockets\ClientWebSocket.cs (21)
40if (Logging.On) Logging.Enter(Logging.WebSockets, this, ".ctor", null); 51if (Logging.On) Logging.Exit(Logging.WebSockets, this, ".ctor", null); 158if (Logging.On) Logging.Associate(Logging.WebSockets, this, request); 165if (Logging.On) Logging.Associate(Logging.WebSockets, this, response); 173if (Logging.On) Logging.Associate(Logging.WebSockets, this, innerWebSocket); 186if (Logging.On) Logging.Exception(Logging.WebSockets, this, "ConnectAsync", wex); 192if (Logging.On) Logging.Exception(Logging.WebSockets, this, "ConnectAsync", ex);
net\System\Net\WebSockets\WebSocketBase.cs (48)
80s_LoggingEnabled = Logging.On && Logging.WebSockets.Switch.ShouldTrace(TraceEventType.Critical); 91Logging.GetObjectLogHash(innerStream), 92Logging.GetObjectLogHash(internalBuffer)); 94Logging.Enter(Logging.WebSockets, this, Methods.Initialize, parameters); 105Logging.Associate(Logging.WebSockets, this, m_InnerStream); 106Logging.Associate(Logging.WebSockets, this, m_InternalBuffer); 129Logging.Exit(Logging.WebSockets, this, Methods.Initialize, parameters); 211Logging.Enter(Logging.WebSockets, this, Methods.ReceiveAsync, string.Empty); 247Logging.Dump(Logging.WebSockets, 271Logging.Exit(Logging.WebSockets, this, Methods.ReceiveAsync, string.Empty); 317Logging.Enter(Logging.WebSockets, this, Methods.SendAsync, inputParameter); 364Logging.Dump(Logging.WebSockets, 394Logging.Exit(Logging.WebSockets, this, Methods.SendAsync, inputParameter); 447Logging.Enter(Logging.WebSockets, this, Methods.Abort, string.Empty); 502Logging.Exit(Logging.WebSockets, this, Methods.Abort, string.Empty); 528Logging.Enter(Logging.WebSockets, this, Methods.CloseOutputAsync, inputParameter); 654Logging.Exit(Logging.WebSockets, this, Methods.CloseOutputAsync, inputParameter); 773Logging.Enter(Logging.WebSockets, this, Methods.CloseAsync, inputParameter); 924Logging.Dump(Logging.WebSockets, 1012Logging.Exit(Logging.WebSockets, this, Methods.CloseAsync, inputParameter); 1306Logging.Exception(Logging.WebSockets, this, methodName, exception); 1444Logging.Exception(Logging.WebSockets, this, Methods.Fault, exception); 1527Logging.PrintInfo(Logging.WebSockets, this, Methods.FinishOnCloseReceived, parameters); 1541Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnKeepAlive, string.Empty); 1604Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnKeepAlive, string.Empty);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (66)
52Logging.Associate(Logging.WebSockets, this, m_ConnectStream.Connection); 96Logging.Enter(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, string.Empty); 133Logging.Dump(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, buffer, 0, bytesRead); 165Logging.Exit(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, bytesRead); 174Logging.Enter(Logging.WebSockets, this, Methods.Close, string.Empty); 192Logging.Exit(Logging.WebSockets, this, Methods.Close, string.Empty); 201Logging.Enter(Logging.WebSockets, this, Methods.ReadAsync, 220Logging.Dump(Logging.WebSockets, this, Methods.ReadAsync, buffer, offset, bytesRead); 238Logging.Exit(Logging.WebSockets, this, Methods.ReadAsync, bytesRead); 249Logging.Enter(Logging.WebSockets, this, Methods.WriteAsync, 266Logging.Dump(Logging.WebSockets, this, Methods.WriteAsync, buffer, offset, count); 284Logging.Exit(Logging.WebSockets, this, Methods.WriteAsync, string.Empty); 305Logging.Associate(Logging.WebSockets, this, m_WebSocketConnection); 319Logging.Enter(Logging.WebSockets, this, Methods.MultipleWriteAsync, string.Empty); 337Logging.Dump(Logging.WebSockets, this, Methods.MultipleWriteAsync, buffer.Array, buffer.Offset, buffer.Count); 356Logging.Exit(Logging.WebSockets, this, Methods.MultipleWriteAsync, string.Empty); 377Logging.Enter(Logging.WebSockets, state, Methods.OnCancel, string.Empty); 398Logging.Exit(Logging.WebSockets, state, Methods.OnCancel, string.Empty); 433Logging.Dump(Logging.WebSockets, this, "ConsumeConnectStreamBuffer", buffer, 0, count); 545Logging.Enter(Logging.WebSockets, this, Methods.Close, string.Empty); 571Logging.Exit(Logging.WebSockets, this, Methods.Close, string.Empty); 641Logging.Enter(Logging.WebSockets, this, Methods.MultipleWriteAsync, string.Empty); 676Logging.Exit(Logging.WebSockets, this, Methods.MultipleWriteAsync, completedAsynchronously); 692Logging.Enter(Logging.WebSockets, this, Methods.WriteAsync, 728Logging.Exit(Logging.WebSockets, this, Methods.WriteAsync, completedAsynchronously); 750Logging.Enter(Logging.WebSockets, this, Methods.ReadAsyncCore, 805Logging.Exit(Logging.WebSockets, this, Methods.ReadAsyncCore, completedAsynchronously); 838Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnCancel, string.Empty); 861Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnCancel, string.Empty); 902Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnWriteCompleted, 917Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnWriteCompleted, string.Empty); 933Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnReadCompleted, 955Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnReadCompleted, string.Empty);
net\System\Net\WebSockets\WebSocketHelpers.cs (27)
74if (Logging.On) 76Logging.Enter(Logging.WebSockets, context, "AcceptWebSocketAsync", ""); 125if (Logging.On) 127Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 129Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 131Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 133Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 135Logging.PrintInfo(Logging.WebSockets, string.Format("Request {0} = {1}", 138Logging.PrintInfo(Logging.WebSockets, string.Format("Response {0} = {1}", 171if (Logging.On) 173Logging.Associate(Logging.WebSockets, context, webSocketContext); 174Logging.Associate(Logging.WebSockets, webSocketContext, webSocket); 179if (Logging.On) 181Logging.Exception(Logging.WebSockets, context, "AcceptWebSocketAsync", ex); 187if (Logging.On) 189Logging.Exit(Logging.WebSockets, context, "AcceptWebSocketAsync", "");
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (50)
67Logging.Associate(Logging.WebSockets, inputStream, this); 68Logging.Associate(Logging.WebSockets, outputStream, this); 140Logging.Enter(Logging.WebSockets, this, Methods.ReadAsyncCore, 199Logging.Exit(Logging.WebSockets, this, Methods.ReadAsyncCore, bytesRead); 213Logging.Enter(Logging.WebSockets, this, Methods.ReadAsyncFast, string.Empty); 309Logging.Exit(Logging.WebSockets, this, Methods.ReadAsyncFast, completedAsynchronously); 366Logging.Enter(Logging.WebSockets, this, Methods.MultipleWriteAsyncCore, string.Empty); 407Logging.Exit(Logging.WebSockets, this, Methods.MultipleWriteAsyncCore, string.Empty); 428Logging.Enter(Logging.WebSockets, this, Methods.WriteAsyncCore, 478Logging.Exit(Logging.WebSockets, this, Methods.WriteAsyncCore, string.Empty); 490Logging.Enter(Logging.WebSockets, this, Methods.WriteAsyncFast, string.Empty); 566Logging.Exit(Logging.WebSockets, this, Methods.WriteAsyncFast, completedAsynchronously); 619Logging.Enter(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, string.Empty); 661Logging.Exit(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, string.Empty); 721Logging.Enter(Logging.WebSockets, state, Methods.OnCancel, string.Empty); 747Logging.Exit(Logging.WebSockets, state, Methods.OnCancel, string.Empty); 777Logging.Associate(Logging.WebSockets, this, webSocket); 793Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnWriteCompleted, string.Empty); 807Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnWriteCompleted, string.Empty); 823Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnReadCompleted, string.Empty); 837Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnReadCompleted, string.Empty); 1214Logging.PrintError(Logging.WebSockets, m_CurrentStream, 1231Logging.Dump(Logging.WebSockets, m_CurrentStream, 1242Logging.Dump(Logging.WebSockets, this, Methods.WriteAsyncFast, buffer.Array, buffer.Offset, buffer.Count); 1247Logging.PrintLine(Logging.WebSockets, TraceEventType.Verbose, 0,
net\System\Net\WinHttpWebProxyFinder.cs (9)
29if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_proxy_winhttp_cant_open_session, errorCode)); 44if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_proxy_winhttp_timeout_error, errorCode)); 203if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_proxy_winhttp_getproxy_failed, destination, errorCode));