Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.LazyAsyncResult Class Reference

Classes

class  ThreadContext
 

Protected Member Functions

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

Package Functions

 LazyAsyncResult (object myObject, object myState, AsyncCallback myCallBack)
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
object InternalWaitForCompletion ()
 
void InternalCleanup ()
 
 LazyAsyncResult (object myObject, object myState, AsyncCallback myCallBack)
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
object InternalWaitForCompletion ()
 
 LazyAsyncResult (object myObject, object myState, AsyncCallback myCallBack)
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
object InternalWaitForCompletion ()
 

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)
 
object WaitForCompletion (bool snap)
 
bool LazilyCreateEvent (out ManualResetEvent waitHandle)
 
object WaitForCompletion (bool snap)
 
bool LazilyCreateEvent (out ManualResetEvent waitHandle)
 
object WaitForCompletion (bool snap)
 

Static Private Member Functions

static void WorkerThreadComplete (object state)
 
static void WorkerThreadComplete (object state)
 
static void WorkerThreadComplete (object state)
 

Private Attributes

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

Static Private Attributes

static ThreadContext t_threadContext
 

Detailed Description

Definition at line 6 of file LazyAsyncResult.cs.


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