Version: 2023.2
public bool TrySetException (Exception exception);

参数

exception Exception to raise in the continuation.

返回

bool Indicates if the completion was successfully raised.

描述

Raise completion with an exception.