Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Tasks.TaskCompletionSource< TResult > Class Template Reference

Public Member Functions

 TaskCompletionSource ()
 
 TaskCompletionSource (TaskCreationOptions creationOptions)
 
 TaskCompletionSource (object? state)
 
 TaskCompletionSource (object? state, TaskCreationOptions creationOptions)
 
void SetException (Exception exception)
 
void SetException (IEnumerable< Exception > exceptions)
 
bool TrySetException (Exception exception)
 
bool TrySetException (IEnumerable< Exception > exceptions)
 
void SetResult ()
 
bool TrySetResult ()
 
void SetCanceled ()
 
void SetCanceled (CancellationToken cancellationToken)
 
bool TrySetCanceled ()
 
bool TrySetCanceled (CancellationToken cancellationToken)
 
 TaskCompletionSource ()
 
 TaskCompletionSource (TaskCreationOptions creationOptions)
 
 TaskCompletionSource (object? state)
 
 TaskCompletionSource (object? state, TaskCreationOptions creationOptions)
 
void SetException (Exception exception)
 
void SetException (IEnumerable< Exception > exceptions)
 
bool TrySetException (Exception exception)
 
bool TrySetException (IEnumerable< Exception > exceptions)
 
void SetResult (TResult result)
 
bool TrySetResult (TResult result)
 
void SetCanceled ()
 
void SetCanceled (CancellationToken cancellationToken)
 
bool TrySetCanceled ()
 
bool TrySetCanceled (CancellationToken cancellationToken)
 

Properties

Task Task [get]
 
Task< TResultTask [get]
 

Private Attributes

readonly Task _task
 
readonly Task< TResult_task
 

Detailed Description

Definition at line 134 of file TaskCompletionSource.cs.


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