Share via


ODataBatchContent Constructor

 

Namespace:   System.Web.Http.OData.Batch
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod ODataBatchContent(IEnumerable<ODataBatchResponseItem>)

Initializes a new instance of the ODataBatchContent class.

System_CAPS_pubmethod ODataBatchContent(IEnumerable<ODataBatchResponseItem>, ODataMessageWriterSettings)

Initializes a new instance of the ODataBatchContent class.

See Also

ODataBatchContent Class
System.Web.Http.OData.Batch Namespace

Return to top

ODataBatchContent Constructor (IEnumerable<ODataBatchResponseItem>)

Initializes a new instance of the ODataBatchContent class.

Syntax

public ODataBatchContent(
    IEnumerable<ODataBatchResponseItem> responses
)
public:
ODataBatchContent(
    IEnumerable<ODataBatchResponseItem^>^ responses
)
new : 
        responses:IEnumerable<ODataBatchResponseItem> -> ODataBatchContent
Public Sub New (
    responses As IEnumerable(Of ODataBatchResponseItem)
)

Parameters

Return to top

ODataBatchContent Constructor (IEnumerable<ODataBatchResponseItem>, ODataMessageWriterSettings)

Initializes a new instance of the ODataBatchContent class.

Syntax

public ODataBatchContent(
    IEnumerable<ODataBatchResponseItem> responses,
    ODataMessageWriterSettings writerSettings
)
public:
ODataBatchContent(
    IEnumerable<ODataBatchResponseItem^>^ responses,
    ODataMessageWriterSettings^ writerSettings
)
new : 
        responses:IEnumerable<ODataBatchResponseItem> *
        writerSettings:ODataMessageWriterSettings -> ODataBatchContent
Public Sub New (
    responses As IEnumerable(Of ODataBatchResponseItem),
    writerSettings As ODataMessageWriterSettings
)

Parameters

Return to top