共用方式為


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 命名空間