Click or drag to resize

BeforeUnloadResponse Class

The response to the BeforeUnloadHandler.
Inheritance Hierarchy
SystemObject
  DotNetBrowser.Browser.Dialogs.HandlersBeforeUnloadResponse

Namespace:  DotNetBrowser.Browser.Dialogs.Handlers
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.0
Syntax
C#
public sealed class BeforeUnloadResponse

The BeforeUnloadResponse type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLeave
Creates a BeforeUnloadResponse that notifies the browser that the user decided to leave the current page.
Public methodStatic memberStay
Creates a BeforeUnloadResponse that notifies the browser that the user decided to stay on the current page.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also