Bagikan melalui


TransactionManagerCommunicationException Konstruktor

Definisi

Menginisialisasi instans baru kelas TransactionManagerCommunicationException.

Overload

TransactionManagerCommunicationException()

Menginisialisasi instans baru kelas TransactionManagerCommunicationException.

TransactionManagerCommunicationException(String)

Menginisialisasi instans TransactionManagerCommunicationException baru kelas dengan pesan yang ditentukan.

TransactionManagerCommunicationException(SerializationInfo, StreamingContext)
Kedaluwarsa.

Menginisialisasi instans TransactionManagerCommunicationException baru kelas dengan informasi konteks serialisasi dan streaming yang ditentukan.

TransactionManagerCommunicationException(String, Exception)

Menginisialisasi instans TransactionManagerCommunicationException baru kelas dengan pesan dan pengecualian dalam yang ditentukan.

TransactionManagerCommunicationException()

Sumber:
TransactionException.cs
Sumber:
TransactionException.cs
Sumber:
TransactionException.cs

Menginisialisasi instans baru kelas TransactionManagerCommunicationException.

public:
 TransactionManagerCommunicationException();
public TransactionManagerCommunicationException ();
Public Sub New ()

Berlaku untuk

TransactionManagerCommunicationException(String)

Sumber:
TransactionException.cs
Sumber:
TransactionException.cs
Sumber:
TransactionException.cs

Menginisialisasi instans TransactionManagerCommunicationException baru kelas dengan pesan yang ditentukan.

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)

Parameter

message
String

Yang String berisi pesan yang menjelaskan mengapa pengecualian terjadi.

Berlaku untuk

TransactionManagerCommunicationException(SerializationInfo, StreamingContext)

Sumber:
TransactionException.cs
Sumber:
TransactionException.cs
Sumber:
TransactionException.cs

Perhatian

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Menginisialisasi instans TransactionManagerCommunicationException baru kelas dengan informasi konteks serialisasi dan streaming yang ditentukan.

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)

Parameter

info
SerializationInfo

Objek SerializationInfo yang menjelaskan serialisasi yang gagal.

context
StreamingContext

Objek SerializationInfo yang menjelaskan konteks serialisasi yang gagal.

Atribut

Berlaku untuk

TransactionManagerCommunicationException(String, Exception)

Sumber:
TransactionException.cs
Sumber:
TransactionException.cs
Sumber:
TransactionException.cs

Menginisialisasi instans TransactionManagerCommunicationException baru kelas dengan pesan dan pengecualian dalam yang ditentukan.

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)

Parameter

message
String

Yang String berisi pesan yang menjelaskan mengapa pengecualian terjadi.

innerException
Exception

Mendapatkan instans pengecualian yang menyebabkan pengecualian saat ini. Untuk informasi selengkapnya, lihat InnerException properti.

Berlaku untuk