HttpRequest コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
HttpRequest(String, Int32) |
HttpRequest クラスの新しいインスタンスを初期化します。 |
HttpRequest(HttpRequest+HttpMethod, String, Dictionary<String,StringExpression>, Object, String, Int32) |
HttpRequest クラスの新しいインスタンスを初期化します。 |
HttpRequest(String, Int32)
HttpRequest クラスの新しいインスタンスを初期化します。
public HttpRequest (string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest : string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest
Public Sub New (Optional callerPath As String = "", Optional callerLine As Integer = 0)
パラメーター
- callerPath
- String
オプションのソース ファイルの完全パス。
- callerLine
- Int32
ソース ファイルの行番号 (省略可能)。
適用対象
HttpRequest(HttpRequest+HttpMethod, String, Dictionary<String,StringExpression>, Object, String, Int32)
HttpRequest クラスの新しいインスタンスを初期化します。
public HttpRequest (Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest.HttpMethod method, string url, System.Collections.Generic.Dictionary<string,AdaptiveExpressions.Properties.StringExpression> headers = default, object body = default, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest : Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest.HttpMethod * string * System.Collections.Generic.Dictionary<string, AdaptiveExpressions.Properties.StringExpression> * obj * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest
Public Sub New (method As HttpRequest.HttpMethod, url As String, Optional headers As Dictionary(Of String, StringExpression) = Nothing, Optional body As Object = Nothing, Optional callerPath As String = "", Optional callerLine As Integer = 0)
パラメーター
- method
- HttpRequest.HttpMethod
HTTP メソッド (POST、GET、DELETE、PUT など)。
- url
- String
要求の URL。
- headers
- Dictionary<String,StringExpression>
省略可能。要求のヘッダー。
- body
- Object
省略可能。要求の生本文。
- callerPath
- String
オプションのソース ファイルの完全パス。
- callerLine
- Int32
ソース ファイルの行番号 (省略可能)。