ErrorNumber 属性

注意:此 API 现已过时。 未过时的替代项是 [Microsoft.Synchronization.Data.DataSyncException.ErrorNumber]。

获取或设置异常的错误号。

命名空间:  Microsoft.Synchronization
程序集:  Microsoft.Synchronization(在 Microsoft.Synchronization.dll 中)

语法

声明
<ObsoleteAttribute("You are attempting to reference properties that have been moved.  Please reference the properties in Microsoft.Synchronization.Data.DataSyncException instead.",  _
    True)> _
Public Property ErrorNumber As Object
    Get
    Set
用法
Dim instance As SyncException
Dim value As Object

value = instance.ErrorNumber

instance.ErrorNumber = value
[ObsoleteAttribute("You are attempting to reference properties that have been moved.  Please reference the properties in Microsoft.Synchronization.Data.DataSyncException instead.", 
    true)]
public Object ErrorNumber { get; set; }
[ObsoleteAttribute(L"You are attempting to reference properties that have been moved.  Please reference the properties in Microsoft.Synchronization.Data.DataSyncException instead.", 
    true)]
public:
property Object^ ErrorNumber {
    Object^ get ();
    void set (Object^ value);
}
[<ObsoleteAttribute("You are attempting to reference properties that have been moved.  Please reference the properties in Microsoft.Synchronization.Data.DataSyncException instead.", 
    true)>]
member ErrorNumber : Object with get, set
function get ErrorNumber () : Object
function set ErrorNumber (value : Object)

属性值

类型:System. . :: . .Object
返回异常的错误号。此成员已过时,且始终返回 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing)。

注释

此成员已过时,不应继续使用。请改用 Microsoft.Synchronization.Data.DataSyncException

请参阅

参考

SyncException类

SyncException 成员

Microsoft.Synchronization 命名空间