ConnectionFailedException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
内部异常。