Share via


ODataBatchWriter.CreateOperationResponseMessageAsync Method

Asynchronously creates an ODataBatchOperationResponseMessage for writing an operation of a batch response.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function CreateOperationResponseMessageAsync As Task(Of ODataBatchOperationResponseMessage)
'Usage
Dim instance As ODataBatchWriter 
Dim returnValue As Task(Of ODataBatchOperationResponseMessage)

returnValue = instance.CreateOperationResponseMessageAsync()
public Task<ODataBatchOperationResponseMessage> CreateOperationResponseMessageAsync()
public:
Task<ODataBatchOperationResponseMessage^>^ CreateOperationResponseMessageAsync()
member CreateOperationResponseMessageAsync : unit -> Task<ODataBatchOperationResponseMessage> 
public function CreateOperationResponseMessageAsync() : Task<ODataBatchOperationResponseMessage>

Return Value

Type: System.Threading.Tasks.Task<ODataBatchOperationResponseMessage>
A task that when completed returns the newly created operation response message.

See Also

Reference

ODataBatchWriter Class

Microsoft.Data.OData Namespace