WebSocketException Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Membuat instans WebSocketException kelas .
Overload
WebSocketException()
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
public:
WebSocketException();
public WebSocketException ();
Public Sub New ()
Berlaku untuk
WebSocketException(WebSocketError, Int32, String, Exception)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- error
- WebSocketError
Kesalahan dari enumerasi WebSocketError.
- nativeError
- Int32
Kode kesalahan asli untuk pengecualian.
- message
- String
Deskripsi kesalahan.
- innerException
- Exception
Menunjukkan pengecualian sebelumnya yang mengarah ke pengecualian saat ini.
Berlaku untuk
WebSocketException(WebSocketError, String, Exception)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- error
- WebSocketError
Kesalahan dari enumerasi WebSocketError.
- message
- String
Deskripsi kesalahan.
- innerException
- Exception
Menunjukkan pengecualian sebelumnya yang mengarah ke pengecualian saat ini.
Berlaku untuk
WebSocketException(WebSocketError, Int32, String)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- error
- WebSocketError
Kesalahan dari enumerasi WebSocketError.
- nativeError
- Int32
Kode kesalahan asli untuk pengecualian.
- message
- String
Deskripsi kesalahan.
Berlaku untuk
WebSocketException(WebSocketError, Int32, Exception)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- error
- WebSocketError
Kesalahan dari enumerasi WebSocketError.
- nativeError
- Int32
Kode kesalahan asli untuk pengecualian.
- innerException
- Exception
Menunjukkan pengecualian sebelumnya yang mengarah ke pengecualian saat ini.
Berlaku untuk
WebSocketException(String, Exception)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- message
- String
Deskripsi kesalahan.
- innerException
- Exception
Menunjukkan pengecualian sebelumnya yang mengarah ke pengecualian saat ini.
Berlaku untuk
WebSocketException(WebSocketError, Int32)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- error
- WebSocketError
Kesalahan dari enumerasi WebSocketError.
- nativeError
- Int32
Kode kesalahan asli untuk pengecualian.
Berlaku untuk
WebSocketException(WebSocketError, String)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- error
- WebSocketError
Kesalahan dari enumerasi WebSocketError.
- message
- String
Deskripsi kesalahan.
Berlaku untuk
WebSocketException(Int32, String)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- nativeError
- Int32
Kode kesalahan asli untuk pengecualian.
- message
- String
Deskripsi kesalahan.
Berlaku untuk
WebSocketException(Int32, Exception)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- nativeError
- Int32
Kode kesalahan asli untuk pengecualian.
- innerException
- Exception
Menunjukkan pengecualian sebelumnya yang mengarah ke pengecualian saat ini.
Berlaku untuk
WebSocketException(String)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- message
- String
Deskripsi kesalahan.
Berlaku untuk
WebSocketException(WebSocketError)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- error
- WebSocketError
Kesalahan dari enumerasi WebSocketError.
Berlaku untuk
WebSocketException(Int32)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
public:
WebSocketException(int nativeError);
public WebSocketException (int nativeError);
new System.Net.WebSockets.WebSocketException : int -> System.Net.WebSockets.WebSocketException
Public Sub New (nativeError As Integer)
Parameter
- nativeError
- Int32
Kode kesalahan asli untuk pengecualian.
Berlaku untuk
WebSocketException(WebSocketError, Exception)
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
- Sumber:
- WebSocketException.cs
Membuat instans WebSocketException kelas .
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)
Parameter
- error
- WebSocketError
Kesalahan dari enumerasi WebSocketError.
- innerException
- Exception
Menunjukkan pengecualian sebelumnya yang mengarah ke pengecualian saat ini.