SyncAddResponse class

Serves to indicate that a new object has to be created in a collection.

public class SyncAddResponse : SyncOperationResponse


Name Description
SyncAddResponse() The default constructor.


Name Description
Class { get; set; } Identifies the class of the item being added to the collection.
ClientId { get; set; } Contains a unique identifier that is generated by the client to temporarily identify a new object that is being created by using the Add element. The client includes the ClientId element in the Add element request that it sends to the server. The server response contains an Add element that contains the original client ID and a new server ID that was assigned for the object, which replaces the client ID as the permanent object identifier. The ClientId element is a unique identifier that consists of up to 64 digits and letters. The client generates this ID. The value only has to be unique for the device during the duration of the Sync request that adds the object to the server. The client stores the client IDs until the synchronization session is completed successfully, to make recovery easier if the synchronization process fails.
ServerId { get; set; } Represents a unique identifier that is assigned by the server to each object that can be synchronized.
Status { get; set; } Indicates the result of the operation. Used in server responses only.

See Also