語言

StreamingResponse.InternalServerError(HttpContent) 方法

定義

會產生回應,表示伺服器在處理請求時遇到錯誤。

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

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

傳回

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

適用於