DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.Events.FailLoadingEventArgs Class Reference

Provides event information for event that indicates that frame loading process has been failed. More...

Inherits DotNetBrowser.Events.LoadEventArgs.

Public Member Functions

 FailLoadingEventArgs (Browser browser, long frameId, bool mainFrame, string validatedURL, int errorCode, string errorDescription)
 Constructs a new FailLoadingEvent instance. More...
 
override string ToString ()
 Represent object as string More...
 
- Public Member Functions inherited from DotNetBrowser.Events.LoadEventArgs
 LoadEventArgs (Browser browser)
 Constructs a new LoadEventArgs instance. More...
 

Properties

long FrameId [get]
 Gets identifier of a frame which is failed to load. More...
 
bool IsMainFrame [get]
 Gets indicates whether the failed frame is a main frame or not. More...
 
string ValidatedURL [get]
 Gets a string that represents address of a frame which is failed to load. More...
 
NetError ErrorCode [get]
 Gets Network error code which is one from the NetError list. More...
 
string ErrorDescription [get]
 Gets the description of the error code. More...
 
- Properties inherited from DotNetBrowser.Events.BrowserEventArgs
Browser Browser [get]
 Gets the browser instance on which the event is initially occurred. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DotNetBrowser.Events.BrowserEventArgs
 BrowserEventArgs (Browser browser)
 Constructs a new BrowserEventArgs instance. More...
 

Detailed Description

Provides event information for event that indicates that frame loading process has been failed.

Constructor & Destructor Documentation

DotNetBrowser.Events.FailLoadingEventArgs.FailLoadingEventArgs ( Browser  browser,
long  frameId,
bool  mainFrame,
string  validatedURL,
int  errorCode,
string  errorDescription 
)

Constructs a new FailLoadingEvent instance.

Parameters
browserthe browser instance on which the event is initially occurred.
frameIdidentifier of a frame that is failed to download.
mainFrameindicates whether the frameId is a main frame.
validatedURLaddress of a frame which is failed to download.
errorCodedescribes the reason of failure. Use NetError to compare.
errorDescriptiondescription of the reason of failure.

Member Function Documentation

override string DotNetBrowser.Events.FailLoadingEventArgs.ToString ( )

Represent object as string

Returns
a string that represents the object

Property Documentation

NetError DotNetBrowser.Events.FailLoadingEventArgs.ErrorCode
get

Gets Network error code which is one from the NetError list.

network error code. NetError

string DotNetBrowser.Events.FailLoadingEventArgs.ErrorDescription
get

Gets the description of the error code.

the description of the error code.

long DotNetBrowser.Events.FailLoadingEventArgs.FrameId
get

Gets identifier of a frame which is failed to load.

identifier of a frame which is failed to load.

bool DotNetBrowser.Events.FailLoadingEventArgs.IsMainFrame
get

Gets indicates whether the failed frame is a main frame or not.

true when the frame is a main frame.

string DotNetBrowser.Events.FailLoadingEventArgs.ValidatedURL
get

Gets a string that represents address of a frame which is failed to load.

address of a frame which is failed to load.