Udostępnij za pośrednictwem


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

ItemResponse<T>()

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

Properties

ETag

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

HasValue

Gets a value indicating whether the current instance has a valid value of its underlying type.

(Inherited from NullableResponse<T>)
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

GetRawResponse()

Returns the HTTP response returned by the service.

ToString()

Returns a string that represents the current object.

(Inherited from NullableResponse<T>)

Applies to