Compartilhar via


Propriedade SyncException.ErrorNumber

OBSERVAÇÃO: esta propriedade agora está obsoleta.  

Obtém ou define um número de erro para a exceção.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (em microsoft.synchronization.dll)

Sintaxe

'Declaração
<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
'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);
}
/** @property */
public Object get_ErrorNumber ()

/** @property */
public void set_ErrorNumber (Object value)
public function get ErrorNumber () : Object

public function set ErrorNumber (value : Object)

Valor da propriedade

Retorna um número de erro para a exceção. Este membro está obsoleto e sempre retorna um referência nula (Nothing no Visual Basic).

Comentários

Este membro está obsoleto e não deve ser usado. Uma alternativa é usar Microsoft.Synchronization.Data.DataSyncException.

Consulte também

Referência

Classe SyncException
Membros SyncException
Namespace Microsoft.Synchronization