語言

ConnectionLostException 建構函式

定義

多載

名稱 Description
ConnectionLostException()

初始化 ConnectionLostException 類別的新執行個體。

ConnectionLostException(String)

初始化 ConnectionLostException 類別的新執行個體。

ConnectionLostException(SerializationInfo, StreamingContext)

初始化 ConnectionLostException 類別的新執行個體。

ConnectionLostException(String, Exception)

初始化 ConnectionLostException 類別的新執行個體。

ConnectionLostException()

來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs

初始化 ConnectionLostException 類別的新執行個體。

public ConnectionLostException();
Public Sub New ()

適用於

ConnectionLostException(String)

來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs

初始化 ConnectionLostException 類別的新執行個體。

public ConnectionLostException(string message);
public ConnectionLostException(string? message);
new StreamJsonRpc.ConnectionLostException : string -> StreamJsonRpc.ConnectionLostException
Public Sub New (message As String)

參數

message
String

描述錯誤的訊息。

適用於

ConnectionLostException(SerializationInfo, StreamingContext)

來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs

初始化 ConnectionLostException 類別的新執行個體。

protected ConnectionLostException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new StreamJsonRpc.ConnectionLostException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> StreamJsonRpc.ConnectionLostException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

序號資訊。

context
StreamingContext

串流背景。

適用於

ConnectionLostException(String, Exception)

來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs
來源:
ConnectionLostException.cs

初始化 ConnectionLostException 類別的新執行個體。

public ConnectionLostException(string message, Exception innerException);
public ConnectionLostException(string? message, Exception? innerException);
new StreamJsonRpc.ConnectionLostException : string * Exception -> StreamJsonRpc.ConnectionLostException
Public Sub New (message As String, innerException As Exception)

參數

message
String

說明例外狀況原因的錯誤訊息。

innerException
Exception

該例外是目前例外的原因,或若未指定內部例外,則為空參考(Visual Basic 中為 Nothing Reference)。

適用於