The exception that is thrown when a HttpListener gets an error processing an HTTP request.
More...
Inherits Win32Exception.
|
| HttpListenerException () |
| Initializes a new instance of the HttpListenerException class.
|
|
| HttpListenerException (int errorCode) |
| Initializes a new instance of the HttpListenerException class with the specified errorCode .
|
|
| HttpListenerException (int errorCode, string message) |
| Initializes a new instance of the HttpListenerException class with the specified errorCode and message .
|
|
|
| HttpListenerException (SerializationInfo serializationInfo, StreamingContext streamingContext) |
| Initializes a new instance of the HttpListenerException class from the specified SerializationInfo and StreamingContext.
|
|
|
override int | ErrorCode [get] |
| Gets the error code that identifies the error that occurred.
|
|
The exception that is thrown when a HttpListener gets an error processing an HTTP request.
◆ HttpListenerException() [1/3]
WebSocketSharp.Net.HttpListenerException.HttpListenerException |
( |
SerializationInfo | serializationInfo, |
|
|
StreamingContext | streamingContext ) |
|
inlineprotected |
Initializes a new instance of the HttpListenerException class from the specified SerializationInfo and StreamingContext.
- Parameters
-
serializationInfo | A SerializationInfo that contains the serialized object data. |
streamingContext | A StreamingContext that specifies the source for the deserialization. |
◆ HttpListenerException() [2/3]
WebSocketSharp.Net.HttpListenerException.HttpListenerException |
( |
int | errorCode | ) |
|
|
inline |
Initializes a new instance of the HttpListenerException class with the specified errorCode .
- Parameters
-
errorCode | An int that identifies the error. |
◆ HttpListenerException() [3/3]
WebSocketSharp.Net.HttpListenerException.HttpListenerException |
( |
int | errorCode, |
|
|
string | message ) |
|
inline |
Initializes a new instance of the HttpListenerException class with the specified errorCode and message .
- Parameters
-
errorCode | An int that identifies the error. |
message | A string that describes the error. |
◆ ErrorCode
override int WebSocketSharp.Net.HttpListenerException.ErrorCode |
|
get |
Gets the error code that identifies the error that occurred.
An int that identifies the error.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/PortalAPI/SocketIO/WebsocketSharp/Net/HttpListenerException.cs