ConnectionFailedException 构造函数

定义

重载

ConnectionFailedException()

初始化 ConnectionFailedException 类的新实例。

ConnectionFailedException(String)

初始化 ConnectionFailedException 类的新实例。

ConnectionFailedException(SerializationInfo, StreamingContext)
已过时.

初始化 ConnectionFailedException 类的新实例。

ConnectionFailedException(String, Exception)

初始化 ConnectionFailedException 类的新实例。

ConnectionFailedException()

Source:
ConnectionFailedException.cs

初始化 ConnectionFailedException 类的新实例。

public ConnectionFailedException ();
Public Sub New ()

适用于

ConnectionFailedException(String)

Source:
ConnectionFailedException.cs

初始化 ConnectionFailedException 类的新实例。

public ConnectionFailedException (string message);
new Orleans.Runtime.Messaging.ConnectionFailedException : string -> Orleans.Runtime.Messaging.ConnectionFailedException
Public Sub New (message As String)

参数

message
String

消息。

适用于

ConnectionFailedException(SerializationInfo, StreamingContext)

Source:
ConnectionFailedException.cs

注意

现已弃用此 API。

初始化 ConnectionFailedException 类的新实例。

protected ConnectionFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
protected ConnectionFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Orleans.Runtime.Messaging.ConnectionFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Runtime.Messaging.ConnectionFailedException
[<System.Obsolete>]
new Orleans.Runtime.Messaging.ConnectionFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Runtime.Messaging.ConnectionFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

序列化信息。

context
StreamingContext

上下文。

属性

适用于

ConnectionFailedException(String, Exception)

Source:
ConnectionFailedException.cs

初始化 ConnectionFailedException 类的新实例。

public ConnectionFailedException (string message, Exception innerException);
new Orleans.Runtime.Messaging.ConnectionFailedException : string * Exception -> Orleans.Runtime.Messaging.ConnectionFailedException
Public Sub New (message As String, innerException As Exception)

参数

message
String

消息。

innerException
Exception

内部异常。

适用于