Share via


ExceptionHandlingScope.HasException property

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

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

Syntax

'Declaration
Public ReadOnly Property HasException As Boolean
    Get
'Usage
Dim instance As ExceptionHandlingScope
Dim value As Boolean

value = instance.HasException
public bool HasException { get; }

Property value

Type: System.Boolean
true if an exception has occurred in the try scope; otherwise, false.

See also

Reference

ExceptionHandlingScope class

ExceptionHandlingScope members

Microsoft.SharePoint.Client namespace