Share via


ODataBatchWriter.BuildOperationResponseMessage(Stream, String, String) Method

Definition

Wrapper method to create an operation response message that can be used to write the operation content to, utilizing private members Microsoft.OData.ODataBatchPayloadUriConverter and IServiceProvider.

protected Microsoft.OData.ODataBatchOperationResponseMessage BuildOperationResponseMessage (System.IO.Stream outputStream, string contentId, string groupId);
member this.BuildOperationResponseMessage : System.IO.Stream * string * string -> Microsoft.OData.ODataBatchOperationResponseMessage
Protected Function BuildOperationResponseMessage (outputStream As Stream, contentId As String, groupId As String) As ODataBatchOperationResponseMessage

Parameters

outputStream
Stream

The output stream underlying the operation message.

contentId
String

The contentId of this response message.

groupId
String

The group id of the response message, should be the same as the group id in the corresponding request message.

Returns

An ODataBatchOperationResponseMessage that can be used to write the operation content.

Applies to