Redigera

Dela via


HttpResponseWrapper.SubStatusCode Property

Definition

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

public:
 virtual property int SubStatusCode { int get(); void set(int value); };
public override int SubStatusCode { get; set; }
member this.SubStatusCode : int with get, set
Public Overrides Property SubStatusCode As Integer

Property Value

The IIS 7.0 substatus code.

Exceptions

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

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

Applies to