RAD Studio VCL Reference
TCGIResponse.SetStatusCode Method

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

procedure SetStatusCode(Value: Integer); override;
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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!