Compartilhar via


ODataResourceSerializer.WriteDeltaObjectInlineAsync Método

Definição

Grava o objeto especificado pelo grafo de parâmetro como parte de uma mensagem OData existente usando o deltaWriter fornecido e o writeContext.

public virtual System.Threading.Tasks.Task WriteDeltaObjectInlineAsync (object graph, Microsoft.OData.Edm.IEdmTypeReference expectedType, Microsoft.OData.ODataWriter writer, Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext writeContext);
abstract member WriteDeltaObjectInlineAsync : obj * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.OData.ODataWriter * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> System.Threading.Tasks.Task
override this.WriteDeltaObjectInlineAsync : obj * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.OData.ODataWriter * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> System.Threading.Tasks.Task
Public Overridable Function WriteDeltaObjectInlineAsync (graph As Object, expectedType As IEdmTypeReference, writer As ODataWriter, writeContext As ODataSerializerContext) As Task

Parâmetros

graph
Object

O objeto a ser gravado.

expectedType
IEdmTypeReference

O tipo EDM esperado do objeto representado por graph.

writer
ODataWriter

O ODataDeltaWriter a ser usado para gravação.

Retornos

Aplica-se a