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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET