AwaitableEventGroup<T>.TrySetException method
Attempts to transition the underlying task into the Faulted state and binds it to the specified exception.
public virtual bool TrySetException(Exception exception)
parameter | description |
---|---|
exception | The exception to bind to this task. |
Return Value
True if the AwaitableEventGroup
was successful; otherwise, false.
See Also
- class AwaitableEventGroup<T>
- namespace Microsoft.Coyote.Actors
- assembly Microsoft.Coyote.Actors