ODataResourceSerializer.WriteDeltaObjectInlineAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the given object specified by the parameter graph as a part of an existing OData message using the given deltaWriter and the 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
Parameters
- graph
- Object
The object to be written.
- expectedType
- IEdmTypeReference
The expected EDM type of the object represented by graph
.
- writer
- ODataWriter
The ODataDeltaWriter to be used for writing.
- writeContext
- ODataSerializerContext