Gets the flag that indicates whether an exception has occurred in the try scope.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中) Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)
语法
声明
Public ReadOnly Property HasException As Boolean
Get
用法
Dim instance As ExceptionHandlingScope
Dim value As Boolean
value = instance.HasException
public bool HasException { get; }
属性值
类型:System.Boolean
true if an exception has occurred in the try scope; otherwise, false.