StreamingResponse.Forbidden(HttpContent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a response indicating the requested resource is forbidden.
public static Microsoft.Bot.Streaming.StreamingResponse Forbidden (System.Net.Http.HttpContent body = default);
static member Forbidden : System.Net.Http.HttpContent -> Microsoft.Bot.Streaming.StreamingResponse
Public Shared Function Forbidden (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.