ODataBatchWriter.CreateOperationRequestMessage Method
Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Function CreateOperationRequestMessage ( _
method As String, _
uri As Uri _
) As ODataBatchOperationRequestMessage
'Usage
Dim instance As ODataBatchWriter
Dim method As String
Dim uri As Uri
Dim returnValue As ODataBatchOperationRequestMessage
returnValue = instance.CreateOperationRequestMessage(method, _
uri)
public ODataBatchOperationRequestMessage CreateOperationRequestMessage(
string method,
Uri uri
)
public:
ODataBatchOperationRequestMessage^ CreateOperationRequestMessage(
String^ method,
Uri^ uri
)
member CreateOperationRequestMessage :
method:string *
uri:Uri -> ODataBatchOperationRequestMessage
public function CreateOperationRequestMessage(
method : String,
uri : Uri
) : ODataBatchOperationRequestMessage
Parameters
- method
Type: System.String
The Http method to be used for this request operation.
- uri
Type: System.Uri
The Uri to be used for this request operation.
Return Value
Type: Microsoft.Data.OData.ODataBatchOperationRequestMessage
The message that can be used to write the request operation.