System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueue Class / Transactional Property



In This Topic
    Transactional Property (MessageQueue)
    In This Topic
    Gets a value that indicates whether the queue accepts only transactions.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Transactional As Boolean
    'Usage
     
    
    Dim instance As MessageQueue
    Dim value As Boolean
     
    value = instance.Transactional
    public bool Transactional {get;}
    public:
    property bool Transactional {
       bool get();
    }

    Property Value

    true if the queue accepts only messages sent as part of a transaction; otherwise, false.
    Exceptions
    ExceptionDescription
    An error occurred when accessing a Message Queuing method.
    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