SP.PageRequestFailedEventArgs(executor, errorMessage) Constructor

Applies to: SharePoint Foundation 2010

Initializes a new instance of the SP.PageRequestFailedEventArgs class with the specified executor of the page request and the error message associated with the failure.

var value = new PageRequestFailedEventArgs(executor, errorMessage);

Parameters

executor

Type: WebRequestExecutor

The executor of the page request.

errorMessage

Type: String

The error message that is associated with the failure.

Remarks

This constructor sets the SP.PageRequestFailedEventArgs.errorMessage Property to errorMessage and the SP.PageRequestFailedEventArgs.executor Property to executor.

Applies To

SP.PageRequestFailedEventArgs Class

See Also

Reference

SP.PageRequestFailedEventArgs Methods

SP.PageRequestFailedEventArgs Properties

SP Namespace