HttpResponseWrapper::SubStatusCode Property

 

Gets or sets a value that qualifies the status code of the response.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property int SubStatusCode {
	virtual int get() override;
	virtual void set(int value) override;
}

Property Value

Type: System::Int32

The IIS 7.0 substatus code.

Exception Condition
PlatformNotSupportedException

The operation requires the integrated pipeline mode in IIS 7.0 and at least the .NET Framework version 3.0.

HttpException

The status code was set after all HTTP headers were sent.

.NET Framework
Available since 3.5
Return to top
Show: