UriFactory.CreateConflictUri Method

Definition

Given a database, collection and conflict id, this creates a conflict link.

public static Uri CreateConflictUri (string databaseId, string collectionId, string conflictId);
Parameters
databaseId
String

The database id

collectionId
String

The collection id

conflictId
String

The conflict id

Returns
Uri

A conflict link in the format of /dbs/{0}/colls/{1}/conflicts/{2}/ with {0} being a Uri escaped version of the databaseId, {1} being collectionId and {2} being the conflictId

Remarks

Would be used when creating a Conflict in Azure DocumentDB.