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



In This Topic
    Commit Method (MessageQueueTransaction)
    In This Topic
    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