OperationResponseItem.WriteResponseAsync Method (ODataBatchWriter, CancellationToken)
Writes the response as an Operation.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public override Task WriteResponseAsync(
ODataBatchWriter writer,
CancellationToken cancellationToken
)
public:
virtual Task^ WriteResponseAsync(
ODataBatchWriter^ writer,
CancellationToken cancellationToken
) override
override WriteResponseAsync :
writer:ODataBatchWriter *
cancellationToken:CancellationToken -> Task
Public Overrides 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
OperationResponseItem Class
System.Web.OData.Batch Namespace
Return to top