SetException Method

TaskCompletionSource(Of TResult).SetException Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

  NameDescription
Public method SetException(IEnumerable(Of Exception)) Transitions the underlying Task(Of TResult) into the Faulted state.
Public method SetException(Exception) Transitions the underlying Task(Of TResult) into the Faulted state.
Top

Show:
© 2017 Microsoft