ODataMessageWriter.CreateODataResourceSetWriterAsync 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
CreateODataResourceSetWriterAsync(IEdmEntitySetBase, IEdmStructuredType) |
Asynchronously creates an ODataWriter to write a resource set. |
CreateODataResourceSetWriterAsync() |
Asynchronously creates an ODataWriter to write a resource set. |
CreateODataResourceSetWriterAsync(IEdmEntitySetBase) |
Asynchronously creates an ODataWriter to write a resource set. |
CreateODataResourceSetWriterAsync(IEdmEntitySetBase, IEdmStructuredType)
Asynchronously creates an ODataWriter to write a resource set.
public System.Threading.Tasks.Task<Microsoft.OData.ODataWriter> CreateODataResourceSetWriterAsync (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType structuredType);
member this.CreateODataResourceSetWriterAsync : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataWriter>
Public Function CreateODataResourceSetWriterAsync (entitySet As IEdmEntitySetBase, structuredType As IEdmStructuredType) As Task(Of ODataWriter)
Parameters
- entitySet
- IEdmEntitySetBase
The entity set we are going to write entities for.
- structuredType
- IEdmStructuredType
The structured type for the entries in the resource set to be written (or null if the entity set base type should be used).
Returns
A running task for the created writer.
Applies to
CreateODataResourceSetWriterAsync()
Asynchronously creates an ODataWriter to write a resource set.
public System.Threading.Tasks.Task<Microsoft.OData.ODataWriter> CreateODataResourceSetWriterAsync ();
member this.CreateODataResourceSetWriterAsync : unit -> System.Threading.Tasks.Task<Microsoft.OData.ODataWriter>
Public Function CreateODataResourceSetWriterAsync () As Task(Of ODataWriter)
Returns
A running task for the created writer.
Applies to
CreateODataResourceSetWriterAsync(IEdmEntitySetBase)
Asynchronously creates an ODataWriter to write a resource set.
public System.Threading.Tasks.Task<Microsoft.OData.ODataWriter> CreateODataResourceSetWriterAsync (Microsoft.OData.Edm.IEdmEntitySetBase entitySet);
member this.CreateODataResourceSetWriterAsync : Microsoft.OData.Edm.IEdmEntitySetBase -> System.Threading.Tasks.Task<Microsoft.OData.ODataWriter>
Public Function CreateODataResourceSetWriterAsync (entitySet As IEdmEntitySetBase) As Task(Of ODataWriter)
Parameters
- entitySet
- IEdmEntitySetBase
The entity set we are going to write entities for.
Returns
A running task for the created writer.