ODataMessageWriter.CreateODataCollectionWriterAsync 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.
Overloads
CreateODataCollectionWriterAsync(IEdmTypeReference) |
Asynchronously creates an ODataCollectionWriter to write a collection of primitive or complex values (as result of a service operation invocation). |
CreateODataCollectionWriterAsync() |
Asynchronously creates an ODataCollectionWriter to write a collection of primitive or complex values (as result of a service operation invocation). |
CreateODataCollectionWriterAsync(IEdmTypeReference)
Asynchronously creates an ODataCollectionWriter to write a collection of primitive or complex values (as result of a service operation invocation).
public System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionWriter> CreateODataCollectionWriterAsync (Microsoft.OData.Edm.IEdmTypeReference itemTypeReference);
member this.CreateODataCollectionWriterAsync : Microsoft.OData.Edm.IEdmTypeReference -> System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionWriter>
Public Function CreateODataCollectionWriterAsync (itemTypeReference As IEdmTypeReference) As Task(Of ODataCollectionWriter)
Parameters
- itemTypeReference
- IEdmTypeReference
The item type of the collection being written or null if no metadata is available.
Returns
A running task for the created collection writer.
Applies to
CreateODataCollectionWriterAsync()
Asynchronously creates an ODataCollectionWriter to write a collection of primitive or complex values (as result of a service operation invocation).
public System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionWriter> CreateODataCollectionWriterAsync ();
member this.CreateODataCollectionWriterAsync : unit -> System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionWriter>
Public Function CreateODataCollectionWriterAsync () As Task(Of ODataCollectionWriter)
Returns
A running task for the created collection writer.