TrySetException(Exception)
Raise completion with an exception.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool TrySetException(Exception exception)
Parameters
Exception to raise in the continuation.
Returns
Type | Description |
|---|---|
| bool | Indicates if the completion was successfully raised. |