EGDL2 2.1
Loading...
Searching...
No Matches
WebSocketSharp.Net.HttpListenerException Class Reference

The exception that is thrown when a HttpListener gets an error processing an HTTP request. More...

Inherits Win32Exception.

Public Member Functions

 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 .
 

Protected Member Functions

 HttpListenerException (SerializationInfo serializationInfo, StreamingContext streamingContext)
 Initializes a new instance of the HttpListenerException class from the specified SerializationInfo and StreamingContext.
 

Properties

override int ErrorCode [get]
 Gets the error code that identifies the error that occurred.
 

Detailed Description

The exception that is thrown when a HttpListener gets an error processing an HTTP request.

Constructor & Destructor Documentation

◆ 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
serializationInfoA SerializationInfo that contains the serialized object data.
streamingContextA 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
errorCodeAn 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
errorCodeAn int that identifies the error.
messageA string that describes the error.

Property Documentation

◆ 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: