Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Callback()

static unsafe void System.Net.HttpRequestStream.HttpRequestStreamAsyncResult.Callback ( uint errorCode,
uint numBytes,
NativeOverlapped * nativeOverlapped )
inlinestaticprivate

Definition at line 82 of file HttpRequestStream.cs.

83 {
85 if (System.Net.NetEventSource.Log.IsEnabled())
86 {
87 System.Net.NetEventSource.Info(null, $"asyncResult: {httpRequestStreamAsyncResult} errorCode:0x {errorCode:x8} numBytes: {numBytes} nativeOverlapped:0x{(IntPtr)nativeOverlapped:x8}", "Callback");
88 }
89 IOCompleted(httpRequestStreamAsyncResult, errorCode, numBytes);
90 }
HttpRequestStreamAsyncResult(object asyncObject, object userState, AsyncCallback callback)
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static unsafe? object GetNativeOverlappedState(NativeOverlapped *overlapped)

References System.Net.HttpRequestStream.HttpRequestStreamAsyncResult.HttpRequestStreamAsyncResult(), System.Threading.ThreadPoolBoundHandle.GetNativeOverlappedState(), System.Net.NetEventSource.Info(), System.Net.HttpRequestStream.HttpRequestStreamAsyncResult.IOCompleted(), and System.Net.NetEventSource.Log.