AccessMode Property

MessageQueue.AccessMode Property


Gets a value that indicates the access mode for the queue.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public QueueAccessMode AccessMode { get; }

Property Value

Type: System.Messaging.QueueAccessMode

One of the QueueAccessMode values.

The default access mode for a queue is QueueAccessMode.SendAndReceive, unless you specify otherwise when calling the constructor.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft