SP.ExceptionHandlingScope Properties

Applies to: SharePoint Foundation 2010

The following table lists the properties of the SP.ExceptionHandlingScope class.

Properties

Name

Description

errorMessage

Gets the error message of the exception when the code is executed in the try scope.

hasException

Gets the flag that indicates whether an exception has occurred in the try scope.

processed

Gets the flag that indicates whether the scope has been processed by the server.

serverErrorCode

Gets the error code that corresponds to the exception that occurred in the try scope.

serverErrorValue

Gets the error value that corresponds to the exception that occurs in the try scope.

serverStackTrace

Gets the server call stack information of the exception in the try scope.

Applies To

SP.ExceptionHandlingScope Class

See Also

Reference

SP.ExceptionHandlingScope Methods

SP Namespace