Partilhar via


SP.ExceptionHandlingScope.startCatch() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

Initiates the start of a custom code block that is to be executed on the client when the server throws an exception.

var value = SP.ExceptionHandlingScope.startCatch();

Return Value

Type: IDisposable

Applies To

SP.ExceptionHandlingScope Class

Remarks

This method must be called after the SP.ExceptionHandlingScope.startTry() Method method is called.

See Also

Reference

SP.ExceptionHandlingScope Methods

SP.ExceptionHandlingScope Properties

SP Namespace