次の方法で共有


DurableHttpRequest コンストラクター

定義

DurableHttpRequest クラスの新しいインスタンスを初期化します。

public DurableHttpRequest (System.Net.Http.HttpMethod method, Uri uri, System.Collections.Generic.IDictionary<string,Microsoft.Extensions.Primitives.StringValues> headers = default, string content = default, Microsoft.Azure.WebJobs.Extensions.DurableTask.ITokenSource tokenSource = default, bool asynchronousPatternEnabled = true, TimeSpan? timeout = default, Microsoft.Azure.WebJobs.Extensions.DurableTask.HttpRetryOptions httpRetryOptions = default);
new Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableHttpRequest : System.Net.Http.HttpMethod * Uri * System.Collections.Generic.IDictionary<string, Microsoft.Extensions.Primitives.StringValues> * string * Microsoft.Azure.WebJobs.Extensions.DurableTask.ITokenSource * bool * Nullable<TimeSpan> * Microsoft.Azure.WebJobs.Extensions.DurableTask.HttpRetryOptions -> Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableHttpRequest
Public Sub New (method As HttpMethod, uri As Uri, Optional headers As IDictionary(Of String, StringValues) = Nothing, Optional content As String = Nothing, Optional tokenSource As ITokenSource = Nothing, Optional asynchronousPatternEnabled As Boolean = true, Optional timeout As Nullable(Of TimeSpan) = Nothing, Optional httpRetryOptions As HttpRetryOptions = Nothing)

パラメーター

method
HttpMethod

HTTP 要求に使用されるメソッド。

uri
Uri

HTTP 要求を行うために使用される URI。

headers
IDictionary<String,StringValues>

HTTP 要求に追加されたヘッダー。

content
String

HTTP 要求の本文に追加されたコンテンツ。

tokenSource
ITokenSource

HTTP 要求にアタッチされた AAD 認証。

asynchronousPatternEnabled
Boolean

DurableHttpRequest で非同期パターンを処理するかどうかを指定します。

timeout
Nullable<TimeSpan>

HTTP 要求のタイムアウトに使用される TimeSpan。

httpRetryOptions
HttpRetryOptions

HTTP 要求に使用される再試行オプション。

適用対象