Udostępnij za pośrednictwem


DurableHttpResponse.CreateDurableHttpResponseWithHttpResponseMessage Method

Definition

Creates a DurableHttpResponse from an HttpResponseMessage.

public static System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableHttpResponse> CreateDurableHttpResponseWithHttpResponseMessage (System.Net.Http.HttpResponseMessage httpResponseMessage);
static member CreateDurableHttpResponseWithHttpResponseMessage : System.Net.Http.HttpResponseMessage -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableHttpResponse>
Public Shared Function CreateDurableHttpResponseWithHttpResponseMessage (httpResponseMessage As HttpResponseMessage) As Task(Of DurableHttpResponse)

Parameters

httpResponseMessage
HttpResponseMessage

HttpResponseMessage returned from the HTTP call.

Returns

A Task<TResult> representing the result of the asynchronous operation.

Applies to