Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Executes the OData batch requests.
Namespace: System.Web.Http.OData.Batch
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
[DebuggerStepThroughAttribute]
public virtual Task<IList<ODataBatchResponseItem>> ExecuteRequestMessagesAsync(
IEnumerable<ODataBatchRequestItem> requests,
CancellationToken cancellationToken
)
public:
[DebuggerStepThroughAttribute]
virtual Task<IList<ODataBatchResponseItem^>^>^ ExecuteRequestMessagesAsync(
IEnumerable<ODataBatchRequestItem^>^ requests,
CancellationToken cancellationToken
)
[<DebuggerStepThroughAttribute>]
abstract ExecuteRequestMessagesAsync :
requests:IEnumerable<ODataBatchRequestItem> *
cancellationToken:CancellationToken -> Task<IList<ODataBatchResponseItem>>
[<DebuggerStepThroughAttribute>]
override ExecuteRequestMessagesAsync :
requests:IEnumerable<ODataBatchRequestItem> *
cancellationToken:CancellationToken -> Task<IList<ODataBatchResponseItem>>
<DebuggerStepThroughAttribute>
Public Overridable Function ExecuteRequestMessagesAsync (
requests As IEnumerable(Of ODataBatchRequestItem),
cancellationToken As CancellationToken
) As Task(Of IList(Of ODataBatchResponseItem))
Parameters
requests
Type: System.Collections.Generic.IEnumerable<ODataBatchRequestItem>The collection of OData batch requests.
cancellationToken
Type: System.Threading.CancellationTokenThe token to monitor for cancellation requests.
Return Value
Type: System.Threading.Tasks.Task<IList<ODataBatchResponseItem>>
A collection of ODataBatchResponseItem for the batch requests.
See Also
DefaultODataBatchHandler Class
System.Web.Http.OData.Batch Namespace
Return to top