ODataBatchResponseItem.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) |
Writes the response. |
| WriteResponseAsync(ODataBatchWriter, Boolean) | |
| WriteResponseAsync(ODataBatchWriter, CancellationToken) |
Writes the response using a synchronous writer. |
| WriteResponseAsync(ODataBatchWriter, CancellationToken, Boolean) |
Writes the response. |
WriteResponseAsync(ODataBatchWriter)
Writes the response.
public System.Threading.Tasks.Task WriteResponseAsync(Microsoft.OData.ODataBatchWriter writer);
member this.WriteResponseAsync : Microsoft.OData.ODataBatchWriter -> System.Threading.Tasks.Task
Public Function WriteResponseAsync (writer As ODataBatchWriter) As Task
Parameters
- writer
- ODataBatchWriter
The ODataBatchWriter.
Returns
Applies to
WriteResponseAsync(ODataBatchWriter, Boolean)
public abstract System.Threading.Tasks.Task WriteResponseAsync(Microsoft.OData.ODataBatchWriter writer, bool asyncWriter);
abstract member WriteResponseAsync : Microsoft.OData.ODataBatchWriter * bool -> System.Threading.Tasks.Task
Public MustOverride Function WriteResponseAsync (writer As ODataBatchWriter, asyncWriter As Boolean) As Task
Parameters
- writer
- ODataBatchWriter
- asyncWriter
- Boolean
Returns
Applies to
WriteResponseAsync(ODataBatchWriter, CancellationToken)
Writes the response using a synchronous writer.
public System.Threading.Tasks.Task WriteResponseAsync(Microsoft.OData.ODataBatchWriter writer, System.Threading.CancellationToken cancellationToken);
member this.WriteResponseAsync : Microsoft.OData.ODataBatchWriter * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function WriteResponseAsync (writer As ODataBatchWriter, cancellationToken As CancellationToken) As Task
Parameters
- writer
- ODataBatchWriter
The ODataBatchWriter.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
Returns
Applies to
WriteResponseAsync(ODataBatchWriter, CancellationToken, Boolean)
Writes the response.
public abstract System.Threading.Tasks.Task WriteResponseAsync(Microsoft.OData.ODataBatchWriter writer, System.Threading.CancellationToken cancellationToken, bool asyncWriter);
abstract member WriteResponseAsync : Microsoft.OData.ODataBatchWriter * System.Threading.CancellationToken * bool -> System.Threading.Tasks.Task
Public MustOverride 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.