This version of Unity is unsupported.

AwaitableCompletionSource.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.