Compartir a través de


ErrorNumber Propiedad

Nota: esta API ya está obsoleta. Una alternativa actualizada es [Microsoft.Synchronization.Data.DataSyncException.ErrorNumber].

Obtiene o establece un número de error para la excepción.

Espacio de nombres:  Microsoft.Synchronization
Ensamblado:  Microsoft.Synchronization (en Microsoft.Synchronization.dll)

Sintaxis

'Declaración
<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
'Uso
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)

Valor de la propiedad

Tipo: System. . :: . .Object
Devuelve un número de error para la excepción. Este miembro ha quedado obsoleto y siempre devuelve un valor NULL.

Notas

Este miembro ha quedado obsoleto y no se debe usar. En su lugar, use Microsoft.Synchronization.Data.DataSyncException.

Vea también

Referencia

SyncException Clase

SyncException Miembros

Microsoft.Synchronization Espacio de nombres