ExceptionHandlingScope.StartCatch method

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

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Function StartCatch As IDisposable
'Usage
Dim instance As ExceptionHandlingScope
Dim returnValue As IDisposable

returnValue = instance.StartCatch()
public IDisposable StartCatch()

Return value

Type: System.IDisposable
The interface that is used to end the catch scope.

Remarks

This method must be called after the StartTry() method is called.

See also

Reference

ExceptionHandlingScope class

ExceptionHandlingScope members

Microsoft.SharePoint.Client namespace