Partilhar via


DurableHttpResponse Construtor

Definição

Inicializa uma nova instância da classe DurableHttpResponse.

[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)

Parâmetros

statusCode
HttpStatusCode

Código de status HTTP retornado da chamada HTTP.

headers
IDictionary<String,StringValues>

Cabeçalhos retornados da chamada HTTP.

content
String

Conteúdo retornado da chamada HTTP.

Atributos
Newtonsoft.Json.JsonConstructorAttribute

Aplica-se a