ODataBatchContent Class
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.
Encapsulates a collection of OData batch responses.
public class ODataBatchContent : System.Net.Http.HttpContent
public class ODataBatchContent
type ODataBatchContent = class
inherit HttpContent
type ODataBatchContent = class
Public Class ODataBatchContent
Inherits HttpContent
Public Class ODataBatchContent
- Inheritance
-
ODataBatchContent
- Inheritance
-
ODataBatchContent
Remarks
In AspNet, ODataBatchContent derives from HttpContent.
Constructors
ODataBatchContent(IEnumerable<ODataBatchResponseItem>, IServiceProvider) |
Initializes a new instance of the ODataBatchContent class. |
ODataBatchContent(IEnumerable<ODataBatchResponseItem>, IServiceProvider, MediaTypeHeaderValue) |
Initializes a new instance of the ODataBatchContent class. |
ODataBatchContent(IEnumerable<ODataBatchResponseItem>, IServiceProvider, String) |
Initializes a new instance of the ODataBatchContent class. |
Properties
Headers |
Gets the Headers for the batch content. |
Responses |
Gets the batch responses. |
Methods
Dispose(Boolean) | Releases the unmanaged resources used by the HttpContent and optionally disposes of the managed resources. |
SerializeToStreamAsync(Stream) |
Serialize the batch content to a stream. |
SerializeToStreamAsync(Stream, TransportContext) | Serialize the HTTP content to a stream as an asynchronous operation. |
TryComputeLength(Int64) | Determines whether the HTTP content has a valid length in bytes. |