Langue

OutgoingWebResponseContext.SetStatusAsNotFound Méthode

Définition

Définit le code d’état HTTP de la réponse Web sortante sur NotFound.

Surcharges

Nom Description
SetStatusAsNotFound()

Définit le code d’état HTTP de la réponse Web sortante sur NotFound.

SetStatusAsNotFound(String)

Définit le code d’état HTTP de la réponse NotFound Web sortante avec la description spécifiée.

SetStatusAsNotFound()

Définit le code d’état HTTP de la réponse Web sortante sur NotFound.

public:
 void SetStatusAsNotFound();
public void SetStatusAsNotFound();
member this.SetStatusAsNotFound : unit -> unit
Public Sub SetStatusAsNotFound ()

S’applique à

SetStatusAsNotFound(String)

Définit le code d’état HTTP de la réponse NotFound Web sortante avec la description spécifiée.

public:
 void SetStatusAsNotFound(System::String ^ description);
public void SetStatusAsNotFound(string description);
member this.SetStatusAsNotFound : string -> unit
Public Sub SetStatusAsNotFound (description As String)

Paramètres

description
String

Description de l’état.

S’applique à