Share via


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
'Usage
Dim instance As SyncConflict
Dim value As String

value = instance.ErrorMessage

instance.ErrorMessage = value
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.

See Also

Reference

SyncConflict Class
SyncConflict Members
Microsoft.Synchronization.Data Namespace