StreamingResponse.InternalServerError(HttpContent) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會產生回應,表示伺服器在處理請求時遇到錯誤。
public static Microsoft.Bot.Streaming.StreamingResponse InternalServerError(System.Net.Http.HttpContent body = default);
static member InternalServerError : System.Net.Http.HttpContent -> Microsoft.Bot.Streaming.StreamingResponse
Public Shared Function InternalServerError (Optional body As HttpContent = Nothing) As StreamingResponse
參數
- body
- HttpContent
一個包含額外資訊的選用主體。
傳回
回覆並附上適當的狀態代碼並傳達正文。