StreamingResponse.NotFound(HttpContent) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會產生回應表示未找到所請求的資源。
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
一個包含額外資訊的選用主體。
傳回
回覆並附上適當的狀態代碼並傳達正文。