WebSocketException Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un'istanza della classe WebSocketException.
Overload
WebSocketException()
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe WebSocketException.
public:
WebSocketException();
public WebSocketException ();
Public Sub New ()
Si applica a
WebSocketException(WebSocketError, Int32, String, Exception)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- error
- WebSocketError
Errore dall'enumerazione WebSocketError.
- nativeError
- Int32
Codice di errore nativo per l'eccezione.
- message
- String
Descrizione dell'errore.
- innerException
- Exception
Indica l'eccezione precedente che ha causato l'eccezione corrente.
Si applica a
WebSocketException(WebSocketError, String, Exception)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- error
- WebSocketError
Errore dall'enumerazione WebSocketError.
- message
- String
Descrizione dell'errore.
- innerException
- Exception
Indica l'eccezione precedente che ha causato l'eccezione corrente.
Si applica a
WebSocketException(WebSocketError, Int32, String)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- error
- WebSocketError
Errore dall'enumerazione WebSocketError.
- nativeError
- Int32
Codice di errore nativo per l'eccezione.
- message
- String
Descrizione dell'errore.
Si applica a
WebSocketException(WebSocketError, Int32, Exception)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- error
- WebSocketError
Errore dall'enumerazione WebSocketError.
- nativeError
- Int32
Codice di errore nativo per l'eccezione.
- innerException
- Exception
Indica l'eccezione precedente che ha causato l'eccezione corrente.
Si applica a
WebSocketException(String, Exception)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- message
- String
Descrizione dell'errore.
- innerException
- Exception
Indica l'eccezione precedente che ha causato l'eccezione corrente.
Si applica a
WebSocketException(WebSocketError, Int32)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- error
- WebSocketError
Errore dall'enumerazione WebSocketError.
- nativeError
- Int32
Codice di errore nativo per l'eccezione.
Si applica a
WebSocketException(WebSocketError, String)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- error
- WebSocketError
Errore dall'enumerazione WebSocketError.
- message
- String
Descrizione dell'errore.
Si applica a
WebSocketException(Int32, String)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- nativeError
- Int32
Codice di errore nativo per l'eccezione.
- message
- String
Descrizione dell'errore.
Si applica a
WebSocketException(Int32, Exception)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- nativeError
- Int32
Codice di errore nativo per l'eccezione.
- innerException
- Exception
Indica l'eccezione precedente che ha causato l'eccezione corrente.
Si applica a
WebSocketException(String)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- message
- String
Descrizione dell'errore.
Si applica a
WebSocketException(WebSocketError)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- error
- WebSocketError
Errore dall'enumerazione WebSocketError.
Si applica a
WebSocketException(Int32)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- nativeError
- Int32
Codice di errore nativo per l'eccezione.
Si applica a
WebSocketException(WebSocketError, Exception)
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
- Origine:
- WebSocketException.cs
Crea un'istanza della classe 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)
Parametri
- error
- WebSocketError
Errore dall'enumerazione WebSocketError.
- innerException
- Exception
Indica l'eccezione precedente che ha causato l'eccezione corrente.