Method Reject
Reject(Exception)
Rejects the handled promise for the given reason.
Declaration
public void Reject(Exception reason)
Parameters
Type | Name | Description |
---|---|---|
Exception | reason | The exception that prevented the handled promise to be fulfilled. |