Share via


ODataMessageWriter.CreateODataCollectionWriterAsync Method

Asynchronously creates an ODataCollectionWriter to write a collection of primitive or complex values (as result of a service operation invocation).

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function CreateODataCollectionWriterAsync As Task(Of ODataCollectionWriter)
'Usage
Dim instance As ODataMessageWriter 
Dim returnValue As Task(Of ODataCollectionWriter)

returnValue = instance.CreateODataCollectionWriterAsync()
public Task<ODataCollectionWriter> CreateODataCollectionWriterAsync()
public:
Task<ODataCollectionWriter^>^ CreateODataCollectionWriterAsync()
member CreateODataCollectionWriterAsync : unit -> Task<ODataCollectionWriter> 
public function CreateODataCollectionWriterAsync() : Task<ODataCollectionWriter>

Return Value

Type: System.Threading.Tasks.Task<ODataCollectionWriter>
A running task for the created collection writer.

See Also

Reference

ODataMessageWriter Class

Microsoft.Data.OData Namespace