SocketConnectionException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SocketConnectionException(String) | |
SocketConnectionException(SerializationInfo, StreamingContext) |
已淘汰.
|
SocketConnectionException(String, Exception) |
SocketConnectionException(String)
public SocketConnectionException (string message);
new Orleans.Networking.Shared.SocketConnectionException : string -> Orleans.Networking.Shared.SocketConnectionException
Public Sub New (message As String)
參數
- message
- String
適用於
SocketConnectionException(SerializationInfo, StreamingContext)
警告
此 API 現已淘汰。
public SocketConnectionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
public SocketConnectionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Orleans.Networking.Shared.SocketConnectionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Networking.Shared.SocketConnectionException
[<System.Obsolete>]
new Orleans.Networking.Shared.SocketConnectionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Networking.Shared.SocketConnectionException
Public Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
- context
- StreamingContext
- 屬性
適用於
SocketConnectionException(String, Exception)
public SocketConnectionException (string message, Exception innerException);
new Orleans.Networking.Shared.SocketConnectionException : string * Exception -> Orleans.Networking.Shared.SocketConnectionException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
- innerException
- Exception