Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.HttpRequestStream.HttpRequestStreamAsyncResult Class Referencesealed

Protected Member Functions

unsafe override void Cleanup ()
 
void ProtectedInvokeCallback (object result, IntPtr userToken)
 
void ProtectedInvokeCallback (object result, IntPtr userToken)
 
void ProtectedInvokeCallback (object result, IntPtr userToken)
 
virtual void Complete (IntPtr userToken)
 
virtual void Complete (IntPtr userToken)
 
virtual void Complete (IntPtr userToken)
 

Package Functions

 HttpRequestStreamAsyncResult (object asyncObject, object userState, AsyncCallback callback)
 
 HttpRequestStreamAsyncResult (object asyncObject, object userState, AsyncCallback callback, uint dataAlreadyRead)
 
unsafe HttpRequestStreamAsyncResult (ThreadPoolBoundHandle boundHandle, object asyncObject, object userState, AsyncCallback callback, byte[] buffer, int offset, uint size, uint dataAlreadyRead)
 
void IOCompleted (uint errorCode, uint numBytes)
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
object InternalWaitForCompletion ()
 
object InternalWaitForCompletion ()
 
object InternalWaitForCompletion ()
 
void InternalCleanup ()
 

Package Attributes

unsafe NativeOverlapped_pOverlapped
 
unsafe void * _pPinnedBuffer
 
uint _dataAlreadyRead
 

Properties

static ThreadContext CurrentThreadContext [get]
 
object AsyncObject [get]
 
object AsyncState [get]
 
WaitHandle AsyncWaitHandle [get]
 
bool CompletedSynchronously [get]
 
bool IsCompleted [get]
 
bool InternalPeekCompleted [get]
 
object Result [get, set]
 
bool EndCalled [get, set]
 
int ErrorCode [get, set]
 
AsyncCallback AsyncCallback [get]
 

Private Member Functions

bool LazilyCreateEvent (out ManualResetEvent waitHandle)
 
bool LazilyCreateEvent (out ManualResetEvent waitHandle)
 
bool LazilyCreateEvent (out ManualResetEvent waitHandle)
 
object WaitForCompletion (bool snap)
 
object WaitForCompletion (bool snap)
 
object WaitForCompletion (bool snap)
 

Static Private Member Functions

static unsafe void IOCompleted (HttpRequestStreamAsyncResult asyncResult, uint errorCode, uint numBytes)
 
static unsafe void Callback (uint errorCode, uint numBytes, NativeOverlapped *nativeOverlapped)
 
static void WorkerThreadComplete (object state)
 
static void WorkerThreadComplete (object state)
 
static void WorkerThreadComplete (object state)
 

Private Attributes

readonly ThreadPoolBoundHandle _boundHandle
 
readonly object _asyncObject
 
readonly object _asyncState
 
AsyncCallback _asyncCallback
 
object _result
 
int _errorCode
 
int _intCompleted
 
bool _endCalled
 
bool _userEvent
 
object _event
 

Static Private Attributes

static unsafe readonly IOCompletionCallback s_IOCallback = Callback
 
static ThreadContext t_threadContext
 

Detailed Description

Definition at line 11 of file HttpRequestStream.cs.


The documentation for this class was generated from the following file: