WebSocketException Constructor
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9083)
WebSocketException(String)
Creates a new instance of WebSocketException.
Declaration
public WebSocketException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | Error message. |
WebSocketException(String, Exception)
Creates a new instance of WebSocketException.
Declaration
public WebSocketException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | Error message. |
Exception | innerException | Inner exception. |
WebSocketException(WebSocketError)
Creates a new instance of WebSocketException.
Declaration
public WebSocketException(WebSocketError error)
Parameters
Type | Name | Description |
---|---|---|
WebSocketError | error | WebSocket error code. |
WebSocketException(WebSocketError, String)
Creates a new instance of WebSocketException.
Declaration
public WebSocketException(WebSocketError error, string message)
Parameters
Type | Name | Description |
---|---|---|
WebSocketError | error | WebSocket error code. |
String | message | Error message. |
WebSocketException(WebSocketError, Exception)
Creates a new instance of WebSocketException.
Declaration
public WebSocketException(WebSocketError error, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
WebSocketError | error | WebSocket error code. |
Exception | innerException | Inner exception. |
WebSocketException(WebSocketError, String, Exception)
Creates a new instance of WebSocketException.
Declaration
public WebSocketException(WebSocketError error, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
WebSocketError | error | WebSocket error code. |
String | message | Error message. |
Exception | innerException | Inner exception. |