SyncConflict.ErrorMessage Property

Gets or sets the error message if ConflictType is set to ErrorsOccurred.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Property ErrorMessage As String
public string ErrorMessage { get; set; }
public:
property String^ ErrorMessage {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ErrorMessage ()

/** @property */
public void set_ErrorMessage (String value)
public function get ErrorMessage () : String

public function set ErrorMessage (value : String)

Property Value

An error message.

Example

For an example of how to handle conflicts, see How to: Handle Data Conflicts and Errors.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SyncConflict Class
SyncConflict Members
Microsoft.Synchronization.Data Namespace