OperationResponseItem.WriteResponseAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| WriteResponseAsync(ODataBatchWriter, Boolean) | |
| WriteResponseAsync(ODataBatchWriter, CancellationToken, Boolean) |
Writes the response as an Operation. |
WriteResponseAsync(ODataBatchWriter, Boolean)
public override System.Threading.Tasks.Task WriteResponseAsync(Microsoft.OData.ODataBatchWriter writer, bool asyncWriter);
override this.WriteResponseAsync : Microsoft.OData.ODataBatchWriter * bool -> System.Threading.Tasks.Task
Public Overrides Function WriteResponseAsync (writer As ODataBatchWriter, asyncWriter As Boolean) As Task
Parameters
- writer
- ODataBatchWriter
- asyncWriter
- Boolean
Returns
Applies to
WriteResponseAsync(ODataBatchWriter, CancellationToken, Boolean)
Writes the response as an Operation.
public override System.Threading.Tasks.Task WriteResponseAsync(Microsoft.OData.ODataBatchWriter writer, System.Threading.CancellationToken cancellationToken, bool asyncWriter);
override this.WriteResponseAsync : Microsoft.OData.ODataBatchWriter * System.Threading.CancellationToken * bool -> System.Threading.Tasks.Task
Public Overrides Function WriteResponseAsync (writer As ODataBatchWriter, cancellationToken As CancellationToken, asyncWriter As Boolean) As Task
Parameters
- writer
- ODataBatchWriter
The ODataBatchWriter.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
- asyncWriter
- Boolean
Whether or not the writer is writing asynchronously.