Definition
Assembly: Microsoft.Restier.AspNet.dll Namespace: Microsoft.Restier.AspNet.Batch Inheritance: Microsoft.AspNet.OData.Batch.ChangeSetRequestItemSyntax
Summary
Represents an API ChangeSet request.Constructors
.ctor
Initializes a new instance of the RestierBatchChangeSetRequestItem class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
api | Microsoft.Restier.Core.ApiBase | An Api. |
requests | System.Collections.Generic.IEnumerable<System.Net.Http.HttpRequestMessage> | The request messages. |
Methods
SendRequestAsync Override
Asynchronously sends the request.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
invoker | System.Net.Http.HttpMessageInvoker | The invoker. |
cancellationToken | System.Threading.CancellationToken | The cancellation token. |
Returns
Type:System.Threading.Tasks.Task<Microsoft.AspNet.OData.Batch.ODataBatchResponseItem>
The task object that contains the batch response.