HttpRequestExtensions.CopyBatchRequestProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the properties from another HttpRequest.
public static void CopyBatchRequestProperties(this Microsoft.AspNetCore.Http.HttpRequest subRequest, Microsoft.AspNetCore.Http.HttpRequest batchRequest);
static member CopyBatchRequestProperties : Microsoft.AspNetCore.Http.HttpRequest * Microsoft.AspNetCore.Http.HttpRequest -> unit
<Extension()>
Public Sub CopyBatchRequestProperties (subRequest As HttpRequest, batchRequest As HttpRequest)
Parameters
- subRequest
- HttpRequest
The sub-request.
- batchRequest
- HttpRequest
The batch request that contains the properties to copy.
Remarks
Currently, this method is unused but is retained to keep a similar API surface area between the AspNet and AspNetCore versions of OData WebApi.