DurableHttpResponse Constructor
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.
Initializes a new instance of the DurableHttpResponse class.
[Newtonsoft.Json.JsonConstructor]
public DurableHttpResponse (System.Net.HttpStatusCode statusCode, System.Collections.Generic.IDictionary<string,Microsoft.Extensions.Primitives.StringValues> headers = default, string content = default);
[<Newtonsoft.Json.JsonConstructor>]
new Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableHttpResponse : System.Net.HttpStatusCode * System.Collections.Generic.IDictionary<string, Microsoft.Extensions.Primitives.StringValues> * string -> Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableHttpResponse
Public Sub New (statusCode As HttpStatusCode, Optional headers As IDictionary(Of String, StringValues) = Nothing, Optional content As String = Nothing)
Parameters
- statusCode
- HttpStatusCode
HTTP Status code returned from the HTTP call.
- headers
- IDictionary<String,StringValues>
Headers returned from the HTTP call.
- content
- String
Content returned from the HTTP call.
- Attributes
-
Newtonsoft.Json.JsonConstructorAttribute
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