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



In This Topic
    Abort Method
    In This Topic
    Rolls back the pending internal transaction.
    Syntax
    'Declaration
     
    
    Public Sub Abort() 
    'Usage
     
    
    Dim instance As MessageQueueTransaction
     
    instance.Abort()
    public void Abort()
    public:
    void Abort(); 
    Exceptions
    ExceptionDescription
    The internal transaction you are attempting to roll back 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