System.Messaging Reference (Document! X Sample)
Commit Method (MessageQueueTransaction)



System.Messaging Namespace > MessageQueueTransaction Class : Commit Method
Commits a pending internal transaction.
Syntax
'Declaration
 
Public Sub Commit() 
'Usage
 
Dim instance As MessageQueueTransaction
 
instance.Commit()
public void Commit()
public:
void Commit(); 
Exceptions
ExceptionDescription
The transaction you are trying to commit has not started.
An internal Message Queuing error occurs.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MessageQueueTransaction Class
MessageQueueTransaction Members