Udostępnij za pośrednictwem


UriFactory.CreateConflictUri(String, String, String) Method

Definition

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

public static Uri CreateConflictUri (string databaseId, string collectionId, string conflictId);
static member CreateConflictUri : string * string * string -> Uri
Public Shared Function CreateConflictUri (databaseId As String, collectionId As String, conflictId As String) As Uri

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 Cosmos DB.

Applies to

See also