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
    Get
    Set
'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);
}
member ErrorMessage : string with get, set
function get ErrorMessage () : String
function set ErrorMessage (value : String)

Property Value

Type: System.String
An error message.

Examples

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

See Also

Reference

SyncConflict Class

Microsoft.Synchronization.Data Namespace