Compartir a través de


ExceptionHandlingScope.HasException Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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