StreamingResponse.Forbidden(HttpContent) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une réponse indiquant que la ressource demandée est interdite.
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
Paramètres
- body
- HttpContent
Un corps optionnel contenant des informations supplémentaires.
Retours
Une réponse avec le code de statut approprié et le corps transmis.