NetEventSource.Http.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System.Diagnostics.Tracing;
  2. using System.Net.Http;
  3. namespace System.Net
  4. {
  5. internal sealed partial class NetEventSource : EventSource
  6. {
  7. public static NetEventSource Log => throw new PlatformNotSupportedException ();
  8. public static new bool IsEnabled => false;
  9. public static void Associate (params object[] args)
  10. {
  11. }
  12. [NonEvent]
  13. public static void Error (params object[] args)
  14. {
  15. }
  16. public static void Enter (params object[] args)
  17. {
  18. }
  19. public static void Exit (params object[] args)
  20. {
  21. }
  22. public static void Info (params object[] args)
  23. {
  24. }
  25. [NonEvent]
  26. public static void UriBaseAddress (object obj, Uri baseAddress)
  27. {
  28. }
  29. [NonEvent]
  30. public static void ContentNull (object obj)
  31. {
  32. }
  33. [NonEvent]
  34. public static void ClientSendCompleted (HttpClient httpClient, HttpResponseMessage response, HttpRequestMessage request)
  35. {
  36. }
  37. public void HeadersInvalidValue (string name, string rawValue)
  38. {
  39. }
  40. public void HandlerMessage (int handlerId, int workerId, int requestId, string memberName, string message)
  41. {
  42. }
  43. }
  44. }