RelayedHttpListenerResponse.StatusCode Property
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.
Gets or sets the HTTP status code to be returned to the client.
public System.Net.HttpStatusCode StatusCode { get; set; }
member this.StatusCode : System.Net.HttpStatusCode with get, set
Public Property StatusCode As HttpStatusCode
Property Value
Exceptions
This object is closed.
The value specified for a set operation is not valid. Valid values are between 100 and 999 inclusive.
An attempt was made to change this value after writing to the output stream.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.