49 {
51 {
52 System.
Net.
NetEventSource.
Info(
null, $
"asyncResult: {asyncResult} errorCode:0x {errorCode:x8} numBytes: {numBytes}",
"IOCompleted");
53 }
55 try
56 {
57 if (errorCode != 0 && errorCode != 38)
58 {
59 asyncResult.ErrorCode = (int)errorCode;
60 obj =
new HttpListenerException((
int)errorCode);
61 }
62 else
63 {
66 {
68 }
69 }
71 {
73 }
74 }
75 catch (Exception ex)
76 {
78 }
80 }
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static void DumpBuffer(object thisOrContextObject, byte[] buffer, int offset, int count, [CallerMemberName] string memberName=null)