语言

IDtcTransaction 接口

定义

描述 DTC 事务。

public interface class IDtcTransaction
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IDtcTransaction
public interface IDtcTransaction
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("0fb15084-af41-11ce-bd2b-204c4f4f5020")]
public interface IDtcTransaction
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IDtcTransaction = interface
type IDtcTransaction = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("0fb15084-af41-11ce-bd2b-204c4f4f5020")>]
type IDtcTransaction = interface
Public Interface IDtcTransaction
特性

注解

不应实现此接口,因为它仅在内部由TransactionInterop类用来表示命名空间接口的非ITransaction托管版本System.EnterpriseServices。

方法

名称 说明
Abort(IntPtr, Int32, Int32)

中止事务。

Commit(Int32, Int32, Int32)

提交事务。

GetTransactionInfo(IntPtr)

检索有关事务的信息。

适用于