mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-13 21:24:00 +00:00
38 lines
979 B
C#
38 lines
979 B
C#
namespace ElectronNET.API.Entities;
|
|
|
|
/// <summary>
|
|
/// 'OnDidFailLoad' event details.
|
|
/// </summary>
|
|
public class OnDidFailLoadInfo
|
|
{
|
|
/// <summary>
|
|
/// The full list of error codes and their meaning is available here
|
|
/// https://source.chromium.org/chromium/chromium/src/+/main:net/base/net_error_list.h
|
|
/// </summary>
|
|
public int ErrorCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Validated URL.
|
|
/// </summary>
|
|
public string ValidatedUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// Error description string.
|
|
/// </summary>
|
|
public string ErrorDescription { get; set; }
|
|
|
|
/// <summary>
|
|
/// True if the event pertains to the main frame.
|
|
/// </summary>
|
|
public bool IsMainFrame { get; set; }
|
|
|
|
/// <summary>
|
|
/// The process id for the frame.
|
|
/// </summary>
|
|
public int FrameProcessId { get; set; }
|
|
|
|
/// <summary>
|
|
/// The routing id for the frame.
|
|
/// </summary>
|
|
public int FrameRoutingId { get; set; }
|
|
} |