Jaa


ODataBatchReader.BuildOperationRequestMessage Method

Definition

Instantiate an ODataBatchOperationRequestMessage instance.

protected Microsoft.OData.ODataBatchOperationRequestMessage BuildOperationRequestMessage (Func<System.IO.Stream> streamCreatorFunc, string method, Uri requestUri, Microsoft.OData.ODataBatchOperationHeaders headers, string contentId, string groupId, System.Collections.Generic.IEnumerable<string> dependsOnRequestIds, bool dependsOnIdsValidationRequired);
member this.BuildOperationRequestMessage : Func<System.IO.Stream> * string * Uri * Microsoft.OData.ODataBatchOperationHeaders * string * string * seq<string> * bool -> Microsoft.OData.ODataBatchOperationRequestMessage
Protected Function BuildOperationRequestMessage (streamCreatorFunc As Func(Of Stream), method As String, requestUri As Uri, headers As ODataBatchOperationHeaders, contentId As String, groupId As String, dependsOnRequestIds As IEnumerable(Of String), dependsOnIdsValidationRequired As Boolean) As ODataBatchOperationRequestMessage

Parameters

streamCreatorFunc
Func<Stream>

The function for stream creation.

method
String

The HTTP method used for this request message.

requestUri
Uri

The request Url for this request message.

headers
ODataBatchOperationHeaders

The headers for this request message.

contentId
String

The contentId of this request message.

groupId
String

The group id that this request belongs to. Can be null.

dependsOnRequestIds
IEnumerable<String>

The prerequisite request Ids of this request message that could be specified by caller explicitly.

dependsOnIdsValidationRequired
Boolean

Whether the dependsOnIds value needs to be validated.

Returns

The ODataBatchOperationRequestMessage instance.

Applies to