Partager via


NavigateErrorEventArgs Class

Definition

Represents the event arguments for a navigate error event.

public ref class NavigateErrorEventArgs sealed : EventArgs
public sealed class NavigateErrorEventArgs : EventArgs
type NavigateErrorEventArgs = class
    inherit EventArgs
Public NotInheritable Class NavigateErrorEventArgs
Inherits EventArgs
Inheritance
NavigateErrorEventArgs

Constructors

NavigateErrorEventArgs()

Initializes a new instance of the NavigateErrorEventArgs class.

Properties

Cancel

Gets or sets a Boolean value that specifies whether to cancel the navigation to an error page and/or any further autosearch. False Default. Continue with navigation to an error page or autosearch. True Cancel navigation to an error page or autosearch.

Frame

Gets or sets the frame object in which the resource is to be displayed, or Null if no named frame is targeted for the resource.

pDisp

Gets or sets the pointer to the top-level or frame WebBrowser object corresponding to the failed navigation.

StatusCode

Gets or sets the integer that contains a status code corresponding to the error, if available.

URL

Gets or sets the URL for which navigation failed.

Applies to