Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Tasks.TaskCompletionSourceWithCancellation< T > Class Template Referencesealed

Public Member Functions

 TaskCompletionSourceWithCancellation ()
 
async ValueTask< TWaitWithCancellationAsync (CancellationToken cancellationToken)
 
T WaitWithCancellation (CancellationToken cancellationToken)
 
ValueTask< TWaitWithCancellationAsync (bool async, CancellationToken cancellationToken)
 
void SetException (Exception exception)
 
void SetException (IEnumerable< Exception > exceptions)
 
void SetException (Exception exception)
 
void SetException (IEnumerable< Exception > exceptions)
 
bool TrySetException (Exception exception)
 
bool TrySetException (IEnumerable< Exception > exceptions)
 
bool TrySetException (Exception exception)
 
bool TrySetException (IEnumerable< Exception > exceptions)
 
void SetResult ()
 
void SetResult (TResult result)
 
bool TrySetResult ()
 
bool TrySetResult (TResult result)
 
void SetCanceled ()
 
void SetCanceled (CancellationToken cancellationToken)
 
void SetCanceled ()
 
void SetCanceled (CancellationToken cancellationToken)
 
bool TrySetCanceled ()
 
bool TrySetCanceled (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 3 of file TaskCompletionSourceWithCancellation.cs.


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