Class LoadingFailedEventArgs
Fired when HTTP request has failed to load.
public sealed record LoadingFailedEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<LoadingFailedEventArgs>
- Inheritance
-
EventArgsLoadingFailedEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
LoadingFailedEventArgs(RequestId, MonotonicTime, ResourceType, string, bool?, BlockedReason?, CorsErrorStatus?)
Fired when HTTP request has failed to load.
public LoadingFailedEventArgs(RequestId RequestId, MonotonicTime Timestamp, ResourceType Type, string ErrorText, bool? Canceled = null, BlockedReason? BlockedReason = null, CorsErrorStatus? CorsErrorStatus = null)
Parameters
RequestIdRequestIdRequest identifier.
TimestampMonotonicTimeTimestamp.
TypeResourceTypeResource type.
ErrorTextstringError message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
Canceledbool?True if loading was canceled.
BlockedReasonBlockedReason?The reason why loading was blocked, if any.
CorsErrorStatusCorsErrorStatusThe reason why loading was blocked by CORS, if any.
Properties
BlockedReason
The reason why loading was blocked, if any.
public BlockedReason? BlockedReason { get; init; }
Property Value
Canceled
True if loading was canceled.
public bool? Canceled { get; init; }
Property Value
- bool?
CorsErrorStatus
The reason why loading was blocked by CORS, if any.
public CorsErrorStatus? CorsErrorStatus { get; init; }
Property Value
ErrorText
Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
public string ErrorText { get; init; }
Property Value
RequestId
Request identifier.
public RequestId RequestId { get; init; }
Property Value
Timestamp
Timestamp.
public MonotonicTime Timestamp { get; init; }
Property Value
Type
Resource type.
public ResourceType Type { get; init; }