语言

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

一个包含额外信息的可选正文。

返回

回复中带有相应状态代码并传达。

适用于