Share via


ODataOutputContext.CreateODataParameterWriterAsync(IEdmOperation) Method

Definition

Asynchronously creates an ODataParameterWriter to write a parameter payload.

public virtual System.Threading.Tasks.Task<Microsoft.OData.ODataParameterWriter> CreateODataParameterWriterAsync (Microsoft.OData.Edm.IEdmOperation operation);
abstract member CreateODataParameterWriterAsync : Microsoft.OData.Edm.IEdmOperation -> System.Threading.Tasks.Task<Microsoft.OData.ODataParameterWriter>
override this.CreateODataParameterWriterAsync : Microsoft.OData.Edm.IEdmOperation -> System.Threading.Tasks.Task<Microsoft.OData.ODataParameterWriter>
Public Overridable Function CreateODataParameterWriterAsync (operation As IEdmOperation) As Task(Of ODataParameterWriter)

Parameters

operation
IEdmOperation

The operation whose parameters will be written.

Returns

A running task for the created parameter writer.

Remarks

The write must flush the output when it's finished (inside the last Write call).

Applies to