ODataBatchWriter.CreateOperationRequestMessageAsync Method
Creates a message for asynchronously writing an operation of a batch request.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Function CreateOperationRequestMessageAsync ( _
method As String, _
uri As Uri _
) As Task(Of ODataBatchOperationRequestMessage)
'Usage
Dim instance As ODataBatchWriter
Dim method As String
Dim uri As Uri
Dim returnValue As Task(Of ODataBatchOperationRequestMessage)
returnValue = instance.CreateOperationRequestMessageAsync(method, _
uri)
public Task<ODataBatchOperationRequestMessage> CreateOperationRequestMessageAsync(
string method,
Uri uri
)
public:
Task<ODataBatchOperationRequestMessage^>^ CreateOperationRequestMessageAsync(
String^ method,
Uri^ uri
)
member CreateOperationRequestMessageAsync :
method:string *
uri:Uri -> Task<ODataBatchOperationRequestMessage>
public function CreateOperationRequestMessageAsync(
method : String,
uri : Uri
) : Task<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: System.Threading.Tasks.Task<ODataBatchOperationRequestMessage>
The message that can be used to asynchronously write the request operation.