MessageQueue.AccessMode 屬性

定義

取得值,表示佇列的存取模式。Gets a value that indicates the access mode for the queue.

public:
 property System::Messaging::QueueAccessMode AccessMode { System::Messaging::QueueAccessMode get(); };
public System.Messaging.QueueAccessMode AccessMode { get; }
member this.AccessMode : System.Messaging.QueueAccessMode
Public ReadOnly Property AccessMode As QueueAccessMode

屬性值

QueueAccessMode

其中一個 QueueAccessMode 值。One of the QueueAccessMode values.

備註

QueueAccessMode.SendAndReceive除非您在呼叫此函式時另外指定,否則佇列的預設存取模式是。The default access mode for a queue is QueueAccessMode.SendAndReceive, unless you specify otherwise when calling the constructor.

適用於