Partager via


ErrorNumber propriété

Remarque : cette API est obsolète. L'alternative non obsolète est [Microsoft.Synchronization.Data.DataSyncException.ErrorNumber].

Obtient ou définit un numéro d'erreur pour l'exception.

Espace de noms :  Microsoft.Synchronization
Assembly :  Microsoft.Synchronization (dans Microsoft.Synchronization.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .Object
Retourne un numéro d'erreur pour l'exception. Ce membre est obsolète et retourne toujours une Null.

Notes

Ce membre est obsolète et ne doit pas être utilisé. Utilisez plutôt Microsoft.Synchronization.Data.DataSyncException.

Voir aussi

Référence

SyncException Classe

Membres SyncException

Espace de noms Microsoft.Synchronization