ExceptionHandlingScope.ErrorMessage 属性

Gets the error message of the exception when the code is executed 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 ErrorMessage As String
    Get
用法
Dim instance As ExceptionHandlingScope
Dim value As String

value = instance.ErrorMessage
public string ErrorMessage { get; }

属性值

类型:System.String
The error message of the exception.

另请参阅

引用

ExceptionHandlingScope 类

ExceptionHandlingScope 成员

Microsoft.SharePoint.Client 命名空间