Condividi tramite


StreamingResponse.Forbidden(HttpContent) Metodo

Definizione

Crea una risposta che indica che la risorsa richiesta non è consentita.

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

Parametri

body
HttpContent

Corpo facoltativo contenente informazioni aggiuntive.

Restituisce

Risposta con il codice di stato appropriato e passato nel corpo.

Si applica a