ExceptionHandlingScope.ServerErrorCode 属性

Gets the error code that corresponds to the exception that 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 ServerErrorCode As Integer
    Get
用法
Dim instance As ExceptionHandlingScope
Dim value As Integer

value = instance.ServerErrorCode
public int ServerErrorCode { get; }

属性值

类型:System.Int32
The error code.

另请参阅

引用

ExceptionHandlingScope 类

ExceptionHandlingScope 成员

Microsoft.SharePoint.Client 命名空间