ODataMessageWriter Class
Represents a class to write all OData payloads (entries, feeds, metadata documents, service documents, etc.).
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.OData.Core.ODataMessageWriter
Syntax
public sealed class ODataMessageWriter : IDisposable
public ref class ODataMessageWriter sealed : IDisposable
[<Sealed>]
type ODataMessageWriter =
class
interface IDisposable
end
Public NotInheritable Class ODataMessageWriter
Implements IDisposable
Constructors
Name | Description | |
---|---|---|
ODataMessageWriter(IODataRequestMessage) | Creates a new ODataMessageWriter for the given request message. |
|
ODataMessageWriter(IODataRequestMessage, ODataMessageWriterSettings) | Creates a new ODataMessageWriter for the given request message and message writer settings. |
|
ODataMessageWriter(IODataRequestMessage, ODataMessageWriterSettings, IEdmModel) | Creates a new ODataMessageWriter for the given request message and message writer settings. |
|
ODataMessageWriter(IODataResponseMessage) | Creates a new ODataMessageWriter for the given response message. |
|
ODataMessageWriter(IODataResponseMessage, ODataMessageWriterSettings) | Creates a new ODataMessageWriter for the given response message and message writer settings. |
|
ODataMessageWriter(IODataResponseMessage, ODataMessageWriterSettings, IEdmModel) | Creates a new ODataMessageWriter for the given response message and message writer settings. |
Methods
Name | Description | |
---|---|---|
CreateODataAsynchronousWriter() | ||
CreateODataAsynchronousWriterAsync() | ||
CreateODataBatchWriter() | Creates an ODataBatchWriter to write a batch of requests or responses. |
|
CreateODataBatchWriterAsync() | Asynchronously creates an ODataBatchWriter to write a batch of requests or responses. |
|
CreateODataCollectionWriter() | Creates an ODataCollectionWriter to write a collection of primitive or complex values (as result of a service operation invocation). |
|
CreateODataCollectionWriter(IEdmTypeReference) | 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). |
|
CreateODataDeltaWriter(IEdmEntitySetBase, IEdmEntityType) | ||
CreateODataDeltaWriterAsync(IEdmEntitySetBase, IEdmEntityType) | ||
CreateODataEntryWriter() | Creates an ODataWriter to write an entry. |
|
CreateODataEntryWriter(IEdmNavigationSource) | Creates an ODataWriter to write an entry. |
|
CreateODataEntryWriter(IEdmNavigationSource, IEdmEntityType) | Creates an ODataWriter to write an entry. |
|
CreateODataEntryWriterAsync() | Asynchronously creates an ODataWriter to write an entry. |
|
CreateODataEntryWriterAsync(IEdmNavigationSource) | Asynchronously creates an ODataWriter to write an entry. |
|
CreateODataEntryWriterAsync(IEdmNavigationSource, IEdmEntityType) | Asynchronously creates an ODataWriter to write an entry. |
|
CreateODataFeedWriter() | Creates an ODataWriter to write a feed. |
|
CreateODataFeedWriter(IEdmEntitySetBase) | Creates an ODataWriter to write a feed. |
|
CreateODataFeedWriter(IEdmEntitySetBase, IEdmEntityType) | Creates an ODataWriter to write a feed. |
|
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. |
|
CreateODataParameterWriter(IEdmOperation) | Creates an ODataParameterWriter to write a parameter payload. |
|
CreateODataParameterWriterAsync(IEdmOperation) | Asynchronously creates an ODataParameterWriter to write a parameter payload. |
|
Dispose() | Releases the resources used by the current instance of the ODataMessageWriter class. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
WriteEntityReferenceLink(ODataEntityReferenceLink) | Writes a singleton result of a $ref query as the message payload. |
|
WriteEntityReferenceLinkAsync(ODataEntityReferenceLink) | Asynchronously writes a singleton result of a $ref query as the message payload. |
|
WriteEntityReferenceLinks(ODataEntityReferenceLinks) | Writes the result of a $ref query as the message payload. |
|
WriteEntityReferenceLinksAsync(ODataEntityReferenceLinks) | Asynchronously writes the result of a $ref query as the message payload. |
|
WriteError(ODataError, Boolean) | Writes an ODataError as the message payload. |
|
WriteErrorAsync(ODataError, Boolean) | Asynchronously writes an ODataError as the message payload. |
|
WriteMetadataDocument() | Writes the metadata document as the message body. |
|
WriteProperty(ODataProperty) | Writes an ODataProperty as the message payload. |
|
WritePropertyAsync(ODataProperty) | Asynchronously writes an ODataProperty as the message payload. |
|
WriteServiceDocument(ODataServiceDocument) | Writes a service document with the specified serviceDocument as the message payload. |
|
WriteServiceDocumentAsync(ODataServiceDocument) | Asynchronously writes a service document with the specified serviceDocument as the message payload. |
|
WriteValue(Object) | Writes a single value as the message body. |
|
WriteValueAsync(Object) | Asynchronously writes a single value as the message body. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.OData.Core Namespace
Return to top