DurableHttpRequest コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 で非同期パターンを処理するかどうかを指定します。
- httpRetryOptions
- HttpRetryOptions
HTTP 要求に使用される再試行オプション。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET