DurableOrchestrationClient.WaitForCompletionOrCreateCheckStatusResponseAsync 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.
Creates an HTTP response which either contains a payload of management URLs for a non-completed instance or contains the payload containing the output of the completed orchestration.
public override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> WaitForCompletionOrCreateCheckStatusResponseAsync(System.Net.Http.HttpRequestMessage request, string instanceId, TimeSpan timeout, TimeSpan retryInterval);
override this.WaitForCompletionOrCreateCheckStatusResponseAsync : System.Net.Http.HttpRequestMessage * string * TimeSpan * TimeSpan -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Overrides Function WaitForCompletionOrCreateCheckStatusResponseAsync (request As HttpRequestMessage, instanceId As String, timeout As TimeSpan, retryInterval As TimeSpan) As Task(Of HttpResponseMessage)
Parameters
- request
- System.Net.Http.HttpRequestMessage
The HTTP request that triggered the current function.
- instanceId
- System.String
The unique ID of the instance to check.
- timeout
- System.TimeSpan
Total allowed timeout for output from the durable function. The default value is 10 seconds.
- retryInterval
- System.TimeSpan
The timeout between checks for output from the durable function. The default value is 1 second.
Returns
An HTTP response which may include a 202 and location header or a 200 with the durable function output in the response body.