HttpListenerResponseStatusCode Property |
Gets or sets the HTTP status code returned to the client.
Namespace:
Sfs2X.WebSocketSharp.Net
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public int StatusCode { get; set; }
Property Value
Type:
Int32
An
Int32 that represents the status code for the response to
the request. The default value is same as
OK.
Exceptions Exception | Condition |
---|
InvalidOperationException |
The response has already been sent.
|
ObjectDisposedException |
This object is closed.
|
ProtocolViolationException |
The value specified for a set operation is invalid. Valid values are
between 100 and 999 inclusive.
|
See Also