Conflict.GetResource<T> Method

Definition

Gets the conflicting resource in the Azure Cosmos DB service.

public T GetResource<T> () where T : Microsoft.Azure.Documents.Resource, new();
member this.GetResource : unit -> 'T (requires 'T :> Microsoft.Azure.Documents.Resource and 'T : (new : unit -> 'T))
Public Function GetResource(Of T As {ResourceNew}) () As T

Type Parameters

T

The returned type of conflicting resource.

Returns

T

The conflicting resource.

Applies to