HttpResponseBase.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 of the output that is returned to the client.
public:
virtual property int StatusCode { int get(); void set(int value); };
public virtual int StatusCode { get; set; }
member this.StatusCode : int with get, set
Public Overridable Property StatusCode As Integer
Property Value
The status code of the HTTP output that is returned to the client. For information about valid status codes, see HTTP Status Codes.
Exceptions
Always.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.