HttpRequest コンストラクター

定義

オーバーロード

名前 説明
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

オプションで、ソースファイル内の行番号も設定できます。

適用対象