Jaa


StreamingResponse.InternalServerError(HttpContent) Method

Definition

Creates a response indicating the server encountered an error while processing the request.

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

Parameters

body
HttpContent

An optional body containing additional information.

Returns

A response with the appropriate statuscode and passed in body.

Applies to