Partilhar via


SP.PageRequest Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.PageRequest class.

Methods

Name

Description

add_failed

Registers a handler for the failed request event of the web request.

add_succeeded

Registers a handler for the succeeded request event of the web request.

doGet

Executes the "GET" web request.

doPost

Executes the "POST" web request.

get

Sets the "GET" web request.

PageRequest

Initializes a new instance of the PageRequest class.

post

Sets "POST" web request.

remove_failed

Removes the event handler added by the SP.PageRequest.add_failed(value) Method.

remove_succeeded

Removes the event handler added by the SP.PageRequest.add_succeeded(value) Method.

Applies To

SP.PageRequest Class

See Also

Reference

SP.PageRequest Properties

SP Namespace