Freigeben über


DurableHttpResponse Konstruktor

Definition

Initialisiert eine neue Instanz der DurableHttpResponse-Klasse.

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

Parameter

statusCode
HttpStatusCode

HTTP-Statuscode, der vom HTTP-Aufruf zurückgegeben wird.

headers
IDictionary<String,StringValues>

Vom HTTP-Aufruf zurückgegebene Header.

content
String

Vom HTTP-Aufruf zurückgegebener Inhalt.

Attribute
Newtonsoft.Json.JsonConstructorAttribute

Gilt für: