Share via


CosmosResponseFactory.CreateItemResponse<T>(ResponseMessage) Method

Definition

Creates a FeedResponse from a response message

public abstract Microsoft.Azure.Cosmos.ItemResponse<T> CreateItemResponse<T> (Microsoft.Azure.Cosmos.ResponseMessage responseMessage);
abstract member CreateItemResponse : Microsoft.Azure.Cosmos.ResponseMessage -> Microsoft.Azure.Cosmos.ItemResponse<'T>
Public MustOverride Function CreateItemResponse(Of T) (responseMessage As ResponseMessage) As ItemResponse(Of T)

Type Parameters

T

The user

Parameters

responseMessage
ResponseMessage

The response message from the stream API

Returns

An instance of FeedResponseT

Applies to