ODataMessageWriter.CreateODataFeedWriterAsync Method
Asynchronously creates an ODataWriter to write a feed.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Overload List
Name | Description | |
---|---|---|
CreateODataFeedWriterAsync() | Asynchronously creates an ODataWriter to write a feed. |
|
CreateODataFeedWriterAsync(IEdmEntitySetBase) | Asynchronously creates an ODataWriter to write a feed. |
|
CreateODataFeedWriterAsync(IEdmEntitySetBase, IEdmEntityType) | Asynchronously creates an ODataWriter to write a feed. |
See Also
ODataMessageWriter Class
Microsoft.OData.Core Namespace
Return to top
ODataMessageWriter.CreateODataFeedWriterAsync Method ()
Asynchronously creates an ODataWriter to write a feed.
Syntax
public Task<ODataWriter> CreateODataFeedWriterAsync()
public:
Task<ODataWriter^>^ CreateODataFeedWriterAsync()
member CreateODataFeedWriterAsync : unit -> Task<ODataWriter>
Public Function CreateODataFeedWriterAsync As Task(Of ODataWriter)
Return Value
Type: System.Threading.Tasks.Task<ODataWriter>
A running task for the created writer.
Return to top
ODataMessageWriter.CreateODataFeedWriterAsync Method (IEdmEntitySetBase)
Asynchronously creates an ODataWriter to write a feed.
Syntax
public Task<ODataWriter> CreateODataFeedWriterAsync(
IEdmEntitySetBase entitySet
)
public:
Task<ODataWriter^>^ CreateODataFeedWriterAsync(
IEdmEntitySetBase^ entitySet
)
member CreateODataFeedWriterAsync :
entitySet:IEdmEntitySetBase -> Task<ODataWriter>
Public Function CreateODataFeedWriterAsync (
entitySet As IEdmEntitySetBase
) As Task(Of ODataWriter)
Parameters
entitySet
Type: Microsoft.OData.Edm.IEdmEntitySetBaseThe entity set we are going to write entities for.
Return Value
Type: System.Threading.Tasks.Task<ODataWriter>
A running task for the created writer.
Return to top
ODataMessageWriter.CreateODataFeedWriterAsync Method (IEdmEntitySetBase, IEdmEntityType)
Asynchronously creates an ODataWriter to write a feed.
Syntax
public Task<ODataWriter> CreateODataFeedWriterAsync(
IEdmEntitySetBase entitySet,
IEdmEntityType entityType
)
public:
Task<ODataWriter^>^ CreateODataFeedWriterAsync(
IEdmEntitySetBase^ entitySet,
IEdmEntityType^ entityType
)
member CreateODataFeedWriterAsync :
entitySet:IEdmEntitySetBase *
entityType:IEdmEntityType -> Task<ODataWriter>
Public Function CreateODataFeedWriterAsync (
entitySet As IEdmEntitySetBase,
entityType As IEdmEntityType
) As Task(Of ODataWriter)
Parameters
entitySet
Type: Microsoft.OData.Edm.IEdmEntitySetBaseThe entity set we are going to write entities for.
entityType
Type: Microsoft.OData.Edm.IEdmEntityTypeThe entity type for the entries in the feed to be written (or null if the entity set base type should be used).
Return Value
Type: System.Threading.Tasks.Task<ODataWriter>
A running task for the created writer.
Return to top