SyncException.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
用法
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);
}
/** @property */
public Object get_ErrorNumber ()

/** @property */
public void set_ErrorNumber (Object value)
public function get ErrorNumber () : Object

public function set ErrorNumber (value : Object)

属性值

返回异常的错误号。此成员已过时,且始终返回 null 引用(在 Visual Basic 中为 Nothing)。

备注

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

请参阅

参考

SyncException 类
SyncException 成员
Microsoft.Synchronization 命名空间