ODataBatchResponseItem.WriteResponseAsync Method (ODataBatchWriter, CancellationToken)
Writes the response.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public abstract Task WriteResponseAsync(
ODataBatchWriter writer,
CancellationToken cancellationToken
)
public:
virtual Task^ WriteResponseAsync(
ODataBatchWriter^ writer,
CancellationToken cancellationToken
) abstract
abstract WriteResponseAsync :
writer:ODataBatchWriter *
cancellationToken:CancellationToken -> Task
Public MustOverride Function WriteResponseAsync (
writer As ODataBatchWriter,
cancellationToken As CancellationToken
) As Task
Parameters
writer
Type: Microsoft.OData.Core.ODataBatchWriterThe ODataBatchWriter.
cancellationToken
Type: System.Threading.CancellationTokenThe token to monitor for cancellation requests.
Return Value
Type: System.Threading.Tasks.Task
See Also
ODataBatchResponseItem Class
System.Web.OData.Batch Namespace
Return to top