StatusCode Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the HTTP status code returned by the web server.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public Property StatusCode As HttpStatusCode
'Usage
Dim instance As CacheRefreshFailureInformation
Dim value As HttpStatusCode

value = instance.StatusCode

instance.StatusCode = value
public HttpStatusCode StatusCode { get; set; }
public:
property HttpStatusCode StatusCode {
    HttpStatusCode get ();
    void set (HttpStatusCode value);
}
public function get StatusCode () : HttpStatusCode
public function set StatusCode (value : HttpStatusCode)

Property Value

Type: System.Net..::.HttpStatusCode
The HTTP status code returned by the web server.

Remarks

Stores the HTTP status code returned by the web server. Clients use the status code returned by the server to decide how to proceed.

Permissions

See Also

Reference

CacheRefreshFailureInformation Class

CacheRefreshFailureInformation Members

Microsoft.CommerceServer Namespace