Share via


DurableTaskClientExtensions.CreateCheckStatusResponse Method

Definition

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)

Source:
DurableTaskClientExtensions.cs

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

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)

Source:
DurableTaskClientExtensions.cs

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

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.

Applies to