次の方法で共有


ErrorNumber プロパティ

メモ : この API は、互換性のために残されています。 現在の形式の 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 名前空間