語言

StreamingResponse.NotFound(HttpContent) 方法

定義

會產生回應表示未找到所請求的資源。

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

參數

body
HttpContent

一個包含額外資訊的選用主體。

傳回

回覆並附上適當的狀態代碼並傳達正文。

適用於