RejectedPromise Class
A promise rejected with a reason (e.g. the exception thrown by a callback whose return type is a promise), given to ScriptEngine.WaitForAll.
public sealed class RejectedPromise : IEquatable<RejectedPromise>- Implements
Constructors
| Name | Description |
|---|---|
| RejectedPromise(object?) | A promise rejected with a reason (e.g. the exception thrown by a callback whose return type is a promise), given to ScriptEngine.WaitForAll. |
RejectedPromise(object?)
ScriptEngine.csA promise rejected with a reason (e.g. the exception thrown by a callback whose return type is a promise), given to ScriptEngine.WaitForAll.
public RejectedPromise(object? Reason)Parameters
Reasonobject?- The reason: a value of the engine, or an exception.
Properties
| Name | Description |
|---|---|
| Reason | The reason: a value of the engine, or an exception. |
Reason
ScriptEngine.csMethods
| Name | Description |
|---|---|
| Deconstruct(object?) | |
| Equals(RejectedPromise?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Deconstruct(object?)
Equals overloads
Equals(RejectedPromise?)
public bool Equals(RejectedPromise? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(RejectedPromise?, RejectedPromise?) | |
| operator !=(RejectedPromise?, RejectedPromise?) |
operator ==(RejectedPromise?, RejectedPromise?)
public static bool operator ==(RejectedPromise? left, RejectedPromise? right)No documentation is available.
operator !=(RejectedPromise?, RejectedPromise?)
public static bool operator !=(RejectedPromise? left, RejectedPromise? right)No documentation is available.