RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCGIResponse.SetStatusCode Method

Provides the abstract (pure virtual) prototype of a method to set the value of the StatusCode property.

Pascal
procedure SetStatusCode(Value: Integer); override;
C++
virtual __fastcall SetStatusCode(int Value);

Descendants of TWebResponse implement SetStatusCode to provide a method to set the internal representation of the StatusCode property. This method is abstract (pure virtual) because response objects for different types of HTTP applications store the value of the StatusCode property differently. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!