Compartilhar via


DurableHttpResponse.CreateDurableHttpResponseWithHttpResponseMessage Método

Definição

Cria um DurableHttpResponse de um 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)

Parâmetros

httpResponseMessage
HttpResponseMessage

HttpResponseMessage retornado da chamada HTTP.

Retornos

Um Task<TResult> que representa o resultado da operação assíncrona.

Aplica-se a