TransactionManagerCommunicationException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 TransactionManagerCommunicationException 类的新实例。
重载
TransactionManagerCommunicationException()
- Source:
- TransactionException.cs
- Source:
- TransactionException.cs
- Source:
- TransactionException.cs
初始化 TransactionManagerCommunicationException 类的新实例。
public:
TransactionManagerCommunicationException();
public TransactionManagerCommunicationException ();
Public Sub New ()
适用于
TransactionManagerCommunicationException(String)
- Source:
- TransactionException.cs
- Source:
- TransactionException.cs
- Source:
- TransactionException.cs
使用指定的消息初始化 TransactionManagerCommunicationException 类的新实例。
public:
TransactionManagerCommunicationException(System::String ^ message);
public TransactionManagerCommunicationException (string? message);
public TransactionManagerCommunicationException (string message);
new System.Transactions.TransactionManagerCommunicationException : string -> System.Transactions.TransactionManagerCommunicationException
Public Sub New (message As String)
参数
适用于
TransactionManagerCommunicationException(SerializationInfo, StreamingContext)
- Source:
- TransactionException.cs
- Source:
- TransactionException.cs
- Source:
- TransactionException.cs
注意
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
用指定的序列化和流上下文信息初始化 TransactionManagerCommunicationException 类的新实例。
protected:
TransactionManagerCommunicationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected TransactionManagerCommunicationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected TransactionManagerCommunicationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Transactions.TransactionManagerCommunicationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Transactions.TransactionManagerCommunicationException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Transactions.TransactionManagerCommunicationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Transactions.TransactionManagerCommunicationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
参数
- info
- SerializationInfo
描述失败的序列化的 SerializationInfo 对象。
- context
- StreamingContext
描述失败的序列化上下文的 SerializationInfo 对象。
- 属性
适用于
TransactionManagerCommunicationException(String, Exception)
- Source:
- TransactionException.cs
- Source:
- TransactionException.cs
- Source:
- TransactionException.cs
使用指定的消息和内部异常初始化 TransactionManagerCommunicationException 类的新实例。
public:
TransactionManagerCommunicationException(System::String ^ message, Exception ^ innerException);
public TransactionManagerCommunicationException (string? message, Exception? innerException);
public TransactionManagerCommunicationException (string message, Exception innerException);
new System.Transactions.TransactionManagerCommunicationException : string * Exception -> System.Transactions.TransactionManagerCommunicationException
Public Sub New (message As String, innerException As Exception)
参数
- innerException
- Exception
获取引发当前异常的异常实例。 有关更多信息,请参见 InnerException 属性。