Share via


ODataBatchResponseItem.WriteResponseAsync Method

Definition

Overloads

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

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

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

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

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

asyncWriter
Boolean

Whether or not the writer is writing asynchronously.

Returns

Applies to