You are currently browsing legacy 3.5 version of documentation. Click here to switch to the newest 5.1 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Commands: GetConflictsAsync

GetConflictsAsync retrieves the existing conflict items.

Conflicts location

Conflicts always exist in a destination file system.


Task<ItemsPage<ConflictItem>> GetConflictsAsync(int start = 0, int pageSize = 25);
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.


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));