TaskCompletionSource<TResult>.TrySetException Method

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Portable Class Library TrySetException(IEnumerable<Exception>) Attempts to transition the underlying Task<TResult> into the Faulted state.
Public method Supported by Portable Class Library TrySetException(Exception) Attempts to transition the underlying Task<TResult> into the Faulted state.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft