Share via


ItemResponse<T> Class

Definition

The cosmos item response

public class ItemResponse<T> : Azure.Response<T>
type ItemResponse<'T> = class
    inherit Response<'T>
Public Class ItemResponse(Of T)
Inherits Response(Of T)

Type Parameters

T
Inheritance

Constructors

Name Description
ItemResponse<T>()

Create a ItemResponse<T> as a no-op for mock testing

Properties

Name Description
ETag

Gets the entity tag associated with the resource from the Azure Cosmos DB service.

Session

Gets the session token for the current request.

Value

Gets the value returned by the service. Accessing this property will throw if HasValue is false.

Methods

Name Description
GetRawResponse()

Returns the HTTP response returned by the service.

Applies to