Method SetStatus
SetStatus(int)
Sets the HTTP status code for this response stream.
public void SetStatus(int httpStatusCode)
Parameters
httpStatusCode
intThe HTTP status code.
SetStatus(HttpStatusCode)
Sets the HTTP status code for this response stream.
public void SetStatus(HttpStatusCode statusCode)
Parameters
statusCode
HttpStatusCodeThe HTTP status code.
SetStatus(HttpStatusInformation)
Sets the HTTP status code and description for this response stream.
public void SetStatus(HttpStatusInformation statusCode)
Parameters
statusCode
HttpStatusInformationThe custom HTTP status code information.