Jaa


ODataBatchReader.BuildOperationResponseMessage Method

Definition

Instantiate an ODataBatchOperationResponseMessage instance and set the status code.

protected Microsoft.OData.ODataBatchOperationResponseMessage BuildOperationResponseMessage (Func<System.IO.Stream> streamCreatorFunc, int statusCode, Microsoft.OData.ODataBatchOperationHeaders headers, string contentId, string groupId);
member this.BuildOperationResponseMessage : Func<System.IO.Stream> * int * Microsoft.OData.ODataBatchOperationHeaders * string * string -> Microsoft.OData.ODataBatchOperationResponseMessage
Protected Function BuildOperationResponseMessage (streamCreatorFunc As Func(Of Stream), statusCode As Integer, headers As ODataBatchOperationHeaders, contentId As String, groupId As String) As ODataBatchOperationResponseMessage

Parameters

streamCreatorFunc
Func<Stream>

The function for stream creation.

statusCode
Int32

The status code for the response.

headers
ODataBatchOperationHeaders

The headers for this response message.

contentId
String

The contentId of this request message.

groupId
String

The groupId of this request message.

Returns

The ODataBatchOperationResponseMessage instance.

Applies to