BeforeUnloadResponse Methods |
The BeforeUnloadResponse type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Leave |
Creates a BeforeUnloadResponse that notifies the browser that the user decided to leave the current
page.
| |
| Stay |
Creates a BeforeUnloadResponse that notifies the browser that the user decided to stay on the
current page.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |