Compartir a través de


WebSocketException Constructores

Definición

Crea una instancia de la clase WebSocketException.

Sobrecargas

WebSocketException()

Crea una instancia de la clase WebSocketException.

WebSocketException(WebSocketError, Int32, String, Exception)

Crea una instancia de la clase WebSocketException.

WebSocketException(WebSocketError, String, Exception)

Crea una instancia de la clase WebSocketException.

WebSocketException(WebSocketError, Int32, String)

Crea una instancia de la clase WebSocketException.

WebSocketException(WebSocketError, Int32, Exception)

Crea una instancia de la clase WebSocketException.

WebSocketException(String, Exception)

Crea una instancia de la clase WebSocketException.

WebSocketException(WebSocketError, Int32)

Crea una instancia de la clase WebSocketException.

WebSocketException(WebSocketError, String)

Crea una instancia de la clase WebSocketException.

WebSocketException(Int32, String)

Crea una instancia de la clase WebSocketException.

WebSocketException(Int32, Exception)

Crea una instancia de la clase WebSocketException.

WebSocketException(String)

Crea una instancia de la clase WebSocketException.

WebSocketException(WebSocketError)

Crea una instancia de la clase WebSocketException.

WebSocketException(Int32)

Crea una instancia de la clase WebSocketException.

WebSocketException(WebSocketError, Exception)

Crea una instancia de la clase WebSocketException.

WebSocketException()

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

Crea una instancia de la clase WebSocketException.

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

Se aplica a

WebSocketException(WebSocketError, Int32, String, Exception)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

error
WebSocketError

Error de la enumeración WebSocketError.

nativeError
Int32

Código de error nativo de la excepción.

message
String

Descripción del error.

innerException
Exception

Indica la excepción anterior que derivó en la excepción actual.

Se aplica a

WebSocketException(WebSocketError, String, Exception)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

error
WebSocketError

Error de la enumeración WebSocketError.

message
String

Descripción del error.

innerException
Exception

Indica la excepción anterior que derivó en la excepción actual.

Se aplica a

WebSocketException(WebSocketError, Int32, String)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

error
WebSocketError

Error de la enumeración WebSocketError.

nativeError
Int32

Código de error nativo de la excepción.

message
String

Descripción del error.

Se aplica a

WebSocketException(WebSocketError, Int32, Exception)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

error
WebSocketError

Error de la enumeración WebSocketError.

nativeError
Int32

Código de error nativo de la excepción.

innerException
Exception

Indica la excepción anterior que derivó en la excepción actual.

Se aplica a

WebSocketException(String, Exception)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

message
String

Descripción del error.

innerException
Exception

Indica la excepción anterior que derivó en la excepción actual.

Se aplica a

WebSocketException(WebSocketError, Int32)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

error
WebSocketError

Error de la enumeración WebSocketError.

nativeError
Int32

Código de error nativo de la excepción.

Se aplica a

WebSocketException(WebSocketError, String)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

error
WebSocketError

Error de la enumeración WebSocketError.

message
String

Descripción del error.

Se aplica a

WebSocketException(Int32, String)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

nativeError
Int32

Código de error nativo de la excepción.

message
String

Descripción del error.

Se aplica a

WebSocketException(Int32, Exception)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

nativeError
Int32

Código de error nativo de la excepción.

innerException
Exception

Indica la excepción anterior que derivó en la excepción actual.

Se aplica a

WebSocketException(String)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

message
String

Descripción del error.

Se aplica a

WebSocketException(WebSocketError)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

error
WebSocketError

Error de la enumeración WebSocketError.

Se aplica a

WebSocketException(Int32)

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

Crea una instancia de la clase WebSocketException.

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

Parámetros

nativeError
Int32

Código de error nativo de la excepción.

Se aplica a

WebSocketException(WebSocketError, Exception)

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

Crea una instancia de la clase WebSocketException.

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)

Parámetros

error
WebSocketError

Error de la enumeración WebSocketError.

innerException
Exception

Indica la excepción anterior que derivó en la excepción actual.

Se aplica a