Editare

Partajați prin


WebSocketException Constructors

Definition

Creates an instance of the WebSocketException class.

Overloads

WebSocketException()

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Int32, String, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, String, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Int32, String)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Int32, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(String, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Int32)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, String)

Creates an instance of the WebSocketException class.

WebSocketException(Int32, String)

Creates an instance of the WebSocketException class.

WebSocketException(Int32, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(String)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError)

Creates an instance of the WebSocketException class.

WebSocketException(Int32)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Exception)

Creates an instance of the WebSocketException class.

WebSocketException()

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException();
public WebSocketException ();
Public Sub New ()

Applies to

WebSocketException(WebSocketError, Int32, String, Exception)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::Net::WebSockets::WebSocketError error, int nativeError, System::String ^ message, Exception ^ innerException);
public WebSocketException (System.Net.WebSockets.WebSocketError error, int nativeError, string? message, Exception? innerException);
public WebSocketException (System.Net.WebSockets.WebSocketError error, int nativeError, string message, Exception innerException);
new System.Net.WebSockets.WebSocketException : System.Net.WebSockets.WebSocketError * int * string * Exception -> System.Net.WebSockets.WebSocketException
Public Sub New (error As WebSocketError, nativeError As Integer, message As String, innerException As Exception)

Parameters

error
WebSocketError

The error from the WebSocketError enumeration.

nativeError
Int32

The native error code for the exception.

message
String

The description of the error.

innerException
Exception

Indicates the previous exception that led to the current exception.

Applies to

WebSocketException(WebSocketError, String, Exception)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::Net::WebSockets::WebSocketError error, System::String ^ message, Exception ^ innerException);
public WebSocketException (System.Net.WebSockets.WebSocketError error, string? message, Exception? innerException);
public WebSocketException (System.Net.WebSockets.WebSocketError error, string message, Exception innerException);
new System.Net.WebSockets.WebSocketException : System.Net.WebSockets.WebSocketError * string * Exception -> System.Net.WebSockets.WebSocketException
Public Sub New (error As WebSocketError, message As String, innerException As Exception)

Parameters

error
WebSocketError

The error from the WebSocketError enumeration.

message
String

The description of the error.

innerException
Exception

Indicates the previous exception that led to the current exception.

Applies to

WebSocketException(WebSocketError, Int32, String)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::Net::WebSockets::WebSocketError error, int nativeError, System::String ^ message);
public WebSocketException (System.Net.WebSockets.WebSocketError error, int nativeError, string? message);
public WebSocketException (System.Net.WebSockets.WebSocketError error, int nativeError, string message);
new System.Net.WebSockets.WebSocketException : System.Net.WebSockets.WebSocketError * int * string -> System.Net.WebSockets.WebSocketException
Public Sub New (error As WebSocketError, nativeError As Integer, message As String)

Parameters

error
WebSocketError

The error from the WebSocketError enumeration.

nativeError
Int32

The native error code for the exception.

message
String

The description of the error.

Applies to

WebSocketException(WebSocketError, Int32, Exception)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::Net::WebSockets::WebSocketError error, int nativeError, Exception ^ innerException);
public WebSocketException (System.Net.WebSockets.WebSocketError error, int nativeError, Exception? innerException);
public WebSocketException (System.Net.WebSockets.WebSocketError error, int nativeError, Exception innerException);
new System.Net.WebSockets.WebSocketException : System.Net.WebSockets.WebSocketError * int * Exception -> System.Net.WebSockets.WebSocketException
Public Sub New (error As WebSocketError, nativeError As Integer, innerException As Exception)

Parameters

error
WebSocketError

The error from the WebSocketError enumeration.

nativeError
Int32

The native error code for the exception.

innerException
Exception

Indicates the previous exception that led to the current exception.

Applies to

WebSocketException(String, Exception)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::String ^ message, Exception ^ innerException);
public WebSocketException (string? message, Exception? innerException);
public WebSocketException (string message, Exception innerException);
new System.Net.WebSockets.WebSocketException : string * Exception -> System.Net.WebSockets.WebSocketException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The description of the error.

innerException
Exception

Indicates the previous exception that led to the current exception.

Applies to

WebSocketException(WebSocketError, Int32)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::Net::WebSockets::WebSocketError error, int nativeError);
public WebSocketException (System.Net.WebSockets.WebSocketError error, int nativeError);
new System.Net.WebSockets.WebSocketException : System.Net.WebSockets.WebSocketError * int -> System.Net.WebSockets.WebSocketException
Public Sub New (error As WebSocketError, nativeError As Integer)

Parameters

error
WebSocketError

The error from the WebSocketError enumeration.

nativeError
Int32

The native error code for the exception.

Applies to

WebSocketException(WebSocketError, String)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::Net::WebSockets::WebSocketError error, System::String ^ message);
public WebSocketException (System.Net.WebSockets.WebSocketError error, string? message);
public WebSocketException (System.Net.WebSockets.WebSocketError error, string message);
new System.Net.WebSockets.WebSocketException : System.Net.WebSockets.WebSocketError * string -> System.Net.WebSockets.WebSocketException
Public Sub New (error As WebSocketError, message As String)

Parameters

error
WebSocketError

The error from the WebSocketError enumeration.

message
String

The description of the error.

Applies to

WebSocketException(Int32, String)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(int nativeError, System::String ^ message);
public WebSocketException (int nativeError, string? message);
public WebSocketException (int nativeError, string message);
new System.Net.WebSockets.WebSocketException : int * string -> System.Net.WebSockets.WebSocketException
Public Sub New (nativeError As Integer, message As String)

Parameters

nativeError
Int32

The native error code for the exception.

message
String

The description of the error.

Applies to

WebSocketException(Int32, Exception)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(int nativeError, Exception ^ innerException);
public WebSocketException (int nativeError, Exception? innerException);
public WebSocketException (int nativeError, Exception innerException);
new System.Net.WebSockets.WebSocketException : int * Exception -> System.Net.WebSockets.WebSocketException
Public Sub New (nativeError As Integer, innerException As Exception)

Parameters

nativeError
Int32

The native error code for the exception.

innerException
Exception

Indicates the previous exception that led to the current exception.

Applies to

WebSocketException(String)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::String ^ message);
public WebSocketException (string? message);
public WebSocketException (string message);
new System.Net.WebSockets.WebSocketException : string -> System.Net.WebSockets.WebSocketException
Public Sub New (message As String)

Parameters

message
String

The description of the error.

Applies to

WebSocketException(WebSocketError)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::Net::WebSockets::WebSocketError error);
public WebSocketException (System.Net.WebSockets.WebSocketError error);
new System.Net.WebSockets.WebSocketException : System.Net.WebSockets.WebSocketError -> System.Net.WebSockets.WebSocketException
Public Sub New (error As WebSocketError)

Parameters

error
WebSocketError

The error from the WebSocketError enumeration.

Applies to

WebSocketException(Int32)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(int nativeError);
public WebSocketException (int nativeError);
new System.Net.WebSockets.WebSocketException : int -> System.Net.WebSockets.WebSocketException
Public Sub New (nativeError As Integer)

Parameters

nativeError
Int32

The native error code for the exception.

Applies to

WebSocketException(WebSocketError, Exception)

Source:
WebSocketException.cs
Source:
WebSocketException.cs
Source:
WebSocketException.cs

Creates an instance of the WebSocketException class.

public:
 WebSocketException(System::Net::WebSockets::WebSocketError error, Exception ^ innerException);
public WebSocketException (System.Net.WebSockets.WebSocketError error, Exception? innerException);
public WebSocketException (System.Net.WebSockets.WebSocketError error, Exception innerException);
new System.Net.WebSockets.WebSocketException : System.Net.WebSockets.WebSocketError * Exception -> System.Net.WebSockets.WebSocketException
Public Sub New (error As WebSocketError, innerException As Exception)

Parameters

error
WebSocketError

The error from the WebSocketError enumeration.

innerException
Exception

Indicates the previous exception that led to the current exception.

Applies to