PromiseRejectionEventInit Class
https://html.spec.whatwg.org/multipage/webappapis.html#promiserejectioneventinit
public sealed class PromiseRejectionEventInit : EventInit- Inheritance
EventInitPromiseRejectionEventInit
Constructors
| Name | Description |
|---|---|
| PromiseRejectionEventInit() |
PromiseRejectionEventInit()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public PromiseRejectionEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Promise | The promise: a value of the script engine. |
| Reason | Gets the reason the promise was rejected. |
Promise
HtmlEvents.csThe promise: a value of the script engine.
public required object Promise { get; init; }Reason
HtmlEvents.csGets the reason the promise was rejected.
public object? Reason { get; init; }