StreamingResponse.Forbidden(HttpContent) メソッド

定義

要求されたリソースが禁止されていることを示す応答を作成します。

public static Microsoft.Bot.Streaming.StreamingResponse Forbidden(System.Net.Http.HttpContent body = default);
static member Forbidden : System.Net.Http.HttpContent -> Microsoft.Bot.Streaming.StreamingResponse
Public Shared Function Forbidden (Optional body As HttpContent = Nothing) As StreamingResponse

パラメーター

body
HttpContent

追加情報を含む任意の本文。

返品

適切なステータスコード付きの返信が本文に渡されました。

適用対象