DurableHttpResponse.CreateDurableHttpResponseWithHttpResponseMessage 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET