Commands: GetConflictsAsync

GetConflictsAsync retrieves the existing conflict items.

Conflicts location

Conflicts always exist in a destination file system.

Syntax

Task<ItemsPage<ConflictItem>> GetConflictsAsync(int start = 0, int pageSize = 25);
Parameters
start int The number of items to skip
pageSize int The maximum number of items to get

Return Value
Task<ItemsPage<ConflictItem>> A task that represents the asynchronous get operation. The task result is the ItemsPage object that contains the number of total results and the list of ConflictItem objects that represent the synchronization conflict.

Example

ItemsPage<ConflictItem> page = await store.AsyncFilesCommands.Synchronization
												.GetConflictsAsync(0, 128);

page.Items.ForEach(x =>
	Console.WriteLine("Synchronization of file {0} from {1} file system resulted in conflict", 
	x.FileName, x.RemoteServerUrl));