C# Класс System.Transactions.TransactionInterop

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
PromoterTypeDtc Guid
PromoterTypeDtc System.Guid

Открытые методы

Метод Описание
GetDtcTransaction ( Transaction transaction ) : IDtcTransaction
GetDtcTransaction ( System transaction ) : System.Transactions.IDtcTransaction
GetExportCookie ( System transaction, byte whereabouts ) : byte[]
GetExportCookie ( Transaction transaction, byte whereabouts ) : byte[]
GetTransactionFromDtcTransaction ( System transactionNative ) : System.Transactions.Transaction
GetTransactionFromDtcTransaction ( IDtcTransaction transactionNative ) : Transaction
GetTransactionFromExportCookie ( byte cookie ) : System.Transactions.Transaction
GetTransactionFromExportCookie ( byte cookie ) : Transaction
GetTransactionFromTransmitterPropagationToken ( byte propagationToken ) : System.Transactions.Transaction
GetTransactionFromTransmitterPropagationToken ( byte propagationToken ) : Transaction
GetTransmitterPropagationToken ( System transaction ) : byte[]
GetTransmitterPropagationToken ( Transaction transaction ) : byte[]
GetWhereabouts ( ) : byte[]

Приватные методы

Метод Описание
ConvertToDistributedTransaction ( Transaction transaction ) : DistributedTransaction
GetDistributedTransactionFromTransmitterPropagationToken ( byte propagationToken ) : DistributedTransaction

Описание методов

GetDtcTransaction() публичный статический Метод

public static GetDtcTransaction ( Transaction transaction ) : IDtcTransaction
transaction Transaction
Результат IDtcTransaction

GetDtcTransaction() публичный статический Метод

public static GetDtcTransaction ( System transaction ) : System.Transactions.IDtcTransaction
transaction System
Результат System.Transactions.IDtcTransaction

GetExportCookie() публичный статический Метод

public static GetExportCookie ( System transaction, byte whereabouts ) : byte[]
transaction System
whereabouts byte
Результат byte[]

GetExportCookie() публичный статический Метод

public static GetExportCookie ( Transaction transaction, byte whereabouts ) : byte[]
transaction Transaction
whereabouts byte
Результат byte[]

GetTransactionFromDtcTransaction() публичный статический Метод

public static GetTransactionFromDtcTransaction ( System transactionNative ) : System.Transactions.Transaction
transactionNative System
Результат System.Transactions.Transaction

GetTransactionFromDtcTransaction() публичный статический Метод

public static GetTransactionFromDtcTransaction ( IDtcTransaction transactionNative ) : Transaction
transactionNative IDtcTransaction
Результат Transaction

GetTransactionFromExportCookie() публичный статический Метод

public static GetTransactionFromExportCookie ( byte cookie ) : System.Transactions.Transaction
cookie byte
Результат System.Transactions.Transaction

GetTransactionFromExportCookie() публичный статический Метод

public static GetTransactionFromExportCookie ( byte cookie ) : Transaction
cookie byte
Результат Transaction

GetTransactionFromTransmitterPropagationToken() публичный статический Метод

public static GetTransactionFromTransmitterPropagationToken ( byte propagationToken ) : System.Transactions.Transaction
propagationToken byte
Результат System.Transactions.Transaction

GetTransactionFromTransmitterPropagationToken() публичный статический Метод

public static GetTransactionFromTransmitterPropagationToken ( byte propagationToken ) : Transaction
propagationToken byte
Результат Transaction

GetTransmitterPropagationToken() публичный статический Метод

public static GetTransmitterPropagationToken ( System transaction ) : byte[]
transaction System
Результат byte[]

GetTransmitterPropagationToken() публичный статический Метод

public static GetTransmitterPropagationToken ( Transaction transaction ) : byte[]
transaction Transaction
Результат byte[]

GetWhereabouts() публичный статический Метод

public static GetWhereabouts ( ) : byte[]
Результат byte[]

Описание свойств

PromoterTypeDtc публичное статическое свойство

This is the PromoterType value that indicates that the transaction is promoting to MSDTC. If using the variation of Transaction.EnlistPromotableSinglePhase that takes a PromoterType and the ITransactionPromoter being used promotes to MSDTC, then this is the value that should be specified for the PromoterType parameter to EnlistPromotableSinglePhase. If using the variation of Transaction.EnlistPromotableSinglePhase that assumes promotion to MSDTC and it that returns false, the caller can compare this value with Transaction.PromoterType to verify that the transaction promoted, or will promote, to MSDTC. If the Transaction.PromoterType matches this value, then the caller can continue with its enlistment with MSDTC. But if it does not match, the caller will not be able to enlist with MSDTC.
public static Guid PromoterTypeDtc
Результат Guid

PromoterTypeDtc публичное статическое свойство

public static System.Guid PromoterTypeDtc
Результат System.Guid