Open sandboxFocus

Method SetException

SetException(Exception)

Sets the Exception in which the promise resulted and sets the IsFaulted property to true.

Declaration
public void SetException(Exception exception)
Parameters
Type Name Description
Exception exception