共用方式為


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