AwaitableCompletionSource<T0>.TrySetException

Declaration

public bool TrySetException(Exception exception);

Parameters

exception Exception to raise in the continuation.

Returns

bool Indicates if the completion was successfully raised.

Description

Raise completion with an exception.


Did you find this page useful? Please give it a rating: