Compartilhar via


ODataActionPayloadDeserializer.ReadAsync Método

Definição

Lê um IODataRequestMessage usando messageReader.

public override System.Threading.Tasks.Task<object> ReadAsync (Microsoft.OData.ODataMessageReader messageReader, Type type, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
override this.ReadAsync : Microsoft.OData.ODataMessageReader * Type * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> System.Threading.Tasks.Task<obj>
Public Overrides Function ReadAsync (messageReader As ODataMessageReader, type As Type, readContext As ODataDeserializerContext) As Task(Of Object)

Parâmetros

messageReader
ODataMessageReader

O messageReader a ser usado.

type
Type

O tipo de objeto para leitura.

readContext
ODataDeserializerContext

O contexto de leitura.

Retornos

O objeto desserializado.

Aplica-se a