Documentation

Unity Engine

Unity Engine

TrySetException(Exception)

Raise completion with an exception.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool TrySetException(Exception exception)

Parameters

exception

Exception to raise in the continuation.

Returns

Type

Description

boolIndicates if the completion was successfully raised.