WebSocketException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en instans av WebSocketException klassen.
Överlagringar
WebSocketException()
Skapar en instans av WebSocketException klassen.
public:
WebSocketException();
public WebSocketException();
Public Sub New ()
Gäller för
WebSocketException(WebSocketError, Int32, String, Exception)
Skapar en instans av WebSocketException klassen.
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);
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)
Parametrar
- error
- WebSocketError
Felet från WebSocketError-uppräkningen.
- nativeError
- Int32
Den interna felkoden för undantaget.
- message
- String
Beskrivningen av felet.
- innerException
- Exception
Anger det tidigare undantaget som ledde till det aktuella undantaget.
Gäller för
WebSocketException(WebSocketError, String, Exception)
Skapar en instans av WebSocketException klassen.
public:
WebSocketException(System::Net::WebSockets::WebSocketError error, System::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)
Parametrar
- error
- WebSocketError
Felet från WebSocketError-uppräkningen.
- message
- String
Beskrivningen av felet.
- innerException
- Exception
Anger det tidigare undantaget som ledde till det aktuella undantaget.
Gäller för
WebSocketException(WebSocketError, Int32, String)
Skapar en instans av WebSocketException klassen.
public:
WebSocketException(System::Net::WebSockets::WebSocketError error, int nativeError, System::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)
Parametrar
- error
- WebSocketError
Felet från WebSocketError-uppräkningen.
- nativeError
- Int32
Den interna felkoden för undantaget.
- message
- String
Beskrivningen av felet.
Gäller för
WebSocketException(WebSocketError, Int32, Exception)
Skapar en instans av WebSocketException klassen.
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)
Parametrar
- error
- WebSocketError
Felet från WebSocketError-uppräkningen.
- nativeError
- Int32
Den interna felkoden för undantaget.
- innerException
- Exception
Anger det tidigare undantaget som ledde till det aktuella undantaget.
Gäller för
WebSocketException(String, Exception)
Skapar en instans av WebSocketException klassen.
public:
WebSocketException(System::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)
Parametrar
- message
- String
Beskrivningen av felet.
- innerException
- Exception
Anger det tidigare undantaget som ledde till det aktuella undantaget.
Gäller för
WebSocketException(WebSocketError, Int32)
Skapar en instans av WebSocketException klassen.
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)
Parametrar
- error
- WebSocketError
Felet från WebSocketError-uppräkningen.
- nativeError
- Int32
Den interna felkoden för undantaget.
Gäller för
WebSocketException(WebSocketError, String)
Skapar en instans av WebSocketException klassen.
public:
WebSocketException(System::Net::WebSockets::WebSocketError error, System::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)
Parametrar
- error
- WebSocketError
Felet från WebSocketError-uppräkningen.
- message
- String
Beskrivningen av felet.
Gäller för
WebSocketException(Int32, String)
Skapar en instans av WebSocketException klassen.
public:
WebSocketException(int nativeError, System::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)
Parametrar
- nativeError
- Int32
Den interna felkoden för undantaget.
- message
- String
Beskrivningen av felet.
Gäller för
WebSocketException(Int32, Exception)
Skapar en instans av WebSocketException klassen.
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)
Parametrar
- nativeError
- Int32
Den interna felkoden för undantaget.
- innerException
- Exception
Anger det tidigare undantaget som ledde till det aktuella undantaget.
Gäller för
WebSocketException(String)
Skapar en instans av WebSocketException klassen.
public:
WebSocketException(System::String ^ message);
public WebSocketException(string message);
new System.Net.WebSockets.WebSocketException : string -> System.Net.WebSockets.WebSocketException
Public Sub New (message As String)
Parametrar
- message
- String
Beskrivningen av felet.
Gäller för
WebSocketException(WebSocketError)
Skapar en instans av WebSocketException klassen.
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)
Parametrar
- error
- WebSocketError
Felet från WebSocketError-uppräkningen.
Gäller för
WebSocketException(Int32)
Skapar en instans av WebSocketException klassen.
public:
WebSocketException(int nativeError);
public WebSocketException(int nativeError);
new System.Net.WebSockets.WebSocketException : int -> System.Net.WebSockets.WebSocketException
Public Sub New (nativeError As Integer)
Parametrar
- nativeError
- Int32
Den interna felkoden för undantaget.
Gäller för
WebSocketException(WebSocketError, Exception)
Skapar en instans av WebSocketException klassen.
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)
Parametrar
- error
- WebSocketError
Felet från WebSocketError-uppräkningen.
- innerException
- Exception
Anger det tidigare undantaget som ledde till det aktuella undantaget.