Skip to main content

Definition

Assembly: Microsoft.Restier.AspNetCore.dll Namespace: Microsoft.Restier.AspNetCore.Batch Inheritance: Microsoft.AspNet.OData.Batch.ChangeSetRequestItem

Syntax

Microsoft.Restier.AspNetCore.Batch.RestierBatchChangeSetRequestItem

Summary

Represents an API ChangeSet request.

Constructors

.ctor

Initializes a new instance of the RestierBatchChangeSetRequestItem class.

Syntax

public RestierBatchChangeSetRequestItem(Microsoft.Restier.Core.ApiBase api, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Http.HttpContext> contexts)

Parameters

NameTypeDescription
apiMicrosoft.Restier.Core.ApiBaseAn Api.
contextsSystem.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Http.HttpContext>The request messages.

Methods

SendRequestAsync Override

Asynchronously sends the request.

Syntax

public override System.Threading.Tasks.Task<Microsoft.AspNet.OData.Batch.ODataBatchResponseItem> SendRequestAsync(Microsoft.AspNetCore.Http.RequestDelegate handler)

Parameters

NameTypeDescription
handlerMicrosoft.AspNetCore.Http.RequestDelegateThe handler for processing a message.

Returns

Type: System.Threading.Tasks.Task<Microsoft.AspNet.OData.Batch.ODataBatchResponseItem> The task object that contains the batch response.