DurableTaskClientExtensions.CreateCheckStatusResponse 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
CreateCheckStatusResponse(DurableTaskClient, HttpRequestData, String, CancellationToken) |
Creates an HTTP response that is useful for checking the status of the specified instance. |
CreateCheckStatusResponse(DurableTaskClient, HttpRequestData, String, HttpStatusCode, CancellationToken) |
Creates an HTTP response that is useful for checking the status of the specified instance. |
CreateCheckStatusResponse(DurableTaskClient, HttpRequestData, String, CancellationToken)
Creates an HTTP response that is useful for checking the status of the specified instance.
public static Microsoft.Azure.Functions.Worker.Http.HttpResponseData CreateCheckStatusResponse (this Microsoft.DurableTask.Client.DurableTaskClient client, Microsoft.Azure.Functions.Worker.Http.HttpRequestData request, string instanceId, System.Threading.CancellationToken cancellation = default);
static member CreateCheckStatusResponse : Microsoft.DurableTask.Client.DurableTaskClient * Microsoft.Azure.Functions.Worker.Http.HttpRequestData * string * System.Threading.CancellationToken -> Microsoft.Azure.Functions.Worker.Http.HttpResponseData
<Extension()>
Public Function CreateCheckStatusResponse (client As DurableTaskClient, request As HttpRequestData, instanceId As String, Optional cancellation As CancellationToken = Nothing) As HttpResponseData
Parameters
- client
- DurableTaskClient
The DurableTaskClient.
- request
- HttpRequestData
The HTTP request that this response is for.
- instanceId
- String
The ID of the orchestration instance to check.
- cancellation
- CancellationToken
The cancellation token.
Returns
An HTTP 202 response with a Location header and a payload containing instance control URLs.
Applies to
CreateCheckStatusResponse(DurableTaskClient, HttpRequestData, String, HttpStatusCode, CancellationToken)
Creates an HTTP response that is useful for checking the status of the specified instance.
public static Microsoft.Azure.Functions.Worker.Http.HttpResponseData CreateCheckStatusResponse (this Microsoft.DurableTask.Client.DurableTaskClient client, Microsoft.Azure.Functions.Worker.Http.HttpRequestData request, string instanceId, System.Net.HttpStatusCode statusCode, System.Threading.CancellationToken cancellation = default);
static member CreateCheckStatusResponse : Microsoft.DurableTask.Client.DurableTaskClient * Microsoft.Azure.Functions.Worker.Http.HttpRequestData * string * System.Net.HttpStatusCode * System.Threading.CancellationToken -> Microsoft.Azure.Functions.Worker.Http.HttpResponseData
<Extension()>
Public Function CreateCheckStatusResponse (client As DurableTaskClient, request As HttpRequestData, instanceId As String, statusCode As HttpStatusCode, Optional cancellation As CancellationToken = Nothing) As HttpResponseData
Parameters
- client
- DurableTaskClient
The DurableTaskClient.
- request
- HttpRequestData
The HTTP request that this response is for.
- instanceId
- String
The ID of the orchestration instance to check.
- statusCode
- HttpStatusCode
The status code.
- cancellation
- CancellationToken
The cancellation token.
Returns
An HTTP response with a Location header and a payload containing instance control URLs.