| |||||||||||
Response.StatusCode PropertySystem.Web Namespace HttpResponse Class Sets or retrieves the HTTP status code of the output returned to the client. [ VB ] Public Property StatusCode As Integer [ C# ] public int StatusCode {get; set;} [ C++ ] public: __property int get_StatusCode ( ); public: __property void set_StatusCode ( int ); [ JScript ] public function get StatusCode ( ) : int; public function set StatusCode ( int ); Property ValueAn Integer representing the status of the HTTP output returned to the client. The default value is 200 ( OK ). Exceptions
ExampleThe following example takes action if the status code is not 200.
See Also |
| ||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme