BatchRequestContent.AddBatchRequestStep 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.
Overloads
AddBatchRequestStep(BatchRequestStep) |
Adds a BatchRequestStep to batch request content if doesn't exists. |
AddBatchRequestStep(IBaseRequest) |
Adds a IBaseRequest to batch request content |
AddBatchRequestStep(HttpRequestMessage) |
Adds a HttpRequestMessage to batch request content. |
AddBatchRequestStep(BatchRequestStep)
Adds a BatchRequestStep to batch request content if doesn't exists.
public bool AddBatchRequestStep (Microsoft.Graph.BatchRequestStep batchRequestStep);
member this.AddBatchRequestStep : Microsoft.Graph.BatchRequestStep -> bool
Public Function AddBatchRequestStep (batchRequestStep As BatchRequestStep) As Boolean
Parameters
- batchRequestStep
- BatchRequestStep
A BatchRequestStep to add.
Returns
True or false based on addition or not addition of the provided BatchRequestStep.
Applies to
AddBatchRequestStep(IBaseRequest)
Adds a IBaseRequest to batch request content
public string AddBatchRequestStep (Microsoft.Graph.IBaseRequest request);
member this.AddBatchRequestStep : Microsoft.Graph.IBaseRequest -> string
Public Function AddBatchRequestStep (request As IBaseRequest) As String
Parameters
- request
- IBaseRequest
A BaseRequest to use to build a BatchRequestStep to add.
Returns
The requestId of the newly created BatchRequestStep
Applies to
AddBatchRequestStep(HttpRequestMessage)
Adds a HttpRequestMessage to batch request content.
public string AddBatchRequestStep (System.Net.Http.HttpRequestMessage httpRequestMessage);
member this.AddBatchRequestStep : System.Net.Http.HttpRequestMessage -> string
Public Function AddBatchRequestStep (httpRequestMessage As HttpRequestMessage) As String
Parameters
- httpRequestMessage
- HttpRequestMessage
A HttpRequestMessage to use to build a BatchRequestStep to add.
Returns
The requestId of the newly created BatchRequestStep