Sdílet prostřednictvím


SyncException.SyncSource Property

NOTE: This property is now obsolete.  

Gets or sets the name of the component that threw 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 SyncSource As Object
'Usage
Dim instance As SyncException
Dim value As Object

value = instance.SyncSource

instance.SyncSource = 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 SyncSource { 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^ SyncSource {
    Object^ get ();
    void set (Object^ value);
}
/** @property */
public Object get_SyncSource ()

/** @property */
public void set_SyncSource (Object value)
public function get SyncSource () : Object

public function set SyncSource (value : Object)

Property Value

Returns the name of the component that threw 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
SyncException Members
Microsoft.Synchronization Namespace