DataServiceException.ErrorCode 属性

获取错误代码。

命名空间:  System.Data.Services
程序集:  Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)

语法

声明
Public ReadOnly Property ErrorCode As String
    Get
用法
Dim instance As DataServiceException
Dim value As String

value = instance.ErrorCode
public string ErrorCode { get; }
public:
property String^ ErrorCode {
    String^ get ();
}
member ErrorCode : string
function get ErrorCode () : String

属性值

类型:System.String
表示错误代码的整数值。

请参阅

参考

DataServiceException 类

System.Data.Services 命名空间