ODataOutputContext.CreateODataParameterWriterAsync(IEdmOperation) 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.
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).