Interface INetTxConnection
The INetTxConnection extends the functionality of the IConnection interface by
adding the createNetTxSession method (optional).
The INetTxConnection interface is optional. NMS providers are not required to support this
interface. This interface is for use by NMS providers to support transactional environments.
Inherited Members
System.IDisposable.Dispose()
Assembly: Apache.NMS.dll
Syntax
public interface INetTxConnection : IConnection, IDisposable, IStartable, IStoppable
Methods
|
Improve this Doc
View Source
CreateNetTxSession()
Creates a INetTxSession object.
Declaration
INetTxSession CreateNetTxSession()
Returns
|
Improve this Doc
View Source
CreateNetTxSession(Boolean)
Declaration
INetTxSession CreateNetTxSession(bool enlistsNativeMsDtcResource)
Parameters
Type |
Name |
Description |
System.Boolean |
enlistsNativeMsDtcResource |
|
Returns
|
Improve this Doc
View Source
CreateNetTxSession(Transaction)
Creates a INetTxSession object and enlists in the specified Transaction.
Declaration
INetTxSession CreateNetTxSession(Transaction tx)
Parameters
Type |
Name |
Description |
System.Transactions.Transaction |
tx |
|
Returns
|
Improve this Doc
View Source
CreateNetTxSession(Transaction, Boolean)
Declaration
INetTxSession CreateNetTxSession(Transaction tx, bool enlistsNativeMsDtcResource)
Parameters
Type |
Name |
Description |
System.Transactions.Transaction |
tx |
|
System.Boolean |
enlistsNativeMsDtcResource |
|
Returns