TrySetException Method

Task Parallel System.Threading

Overload List

  NameDescription
TrySetException(IEnumerable<(Of <(Exception>)>))
Attempts to transition the underlying Task<(Of <(TResult>)>) into the Faulted state.
TrySetException(Exception)
Attempts to transition the underlying Task<(Of <(TResult>)>) into the Faulted state.

See Also