Share via


SyncException.ErrorNumber Property

Note: This API is now obsolete. The non-obsolete alternative is [Microsoft.Synchronization.Data.DataSyncException.ErrorNumber].

Gets or sets an error number for the exception.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
<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
'Usage
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)

Property Value

Type: System.Object
Returns an error number for the exception. This member is obsolete and always returns a null reference (Nothing in Visual Basic).

Remarks

This member is obsolete and should not be used. Use Microsoft.Synchronization.Data.DataSyncException instead.

See Also

Reference

SyncException Class

Microsoft.Synchronization Namespace