QueueAccessMode Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the access mode for a MessageQueue at creation time.
public enum class QueueAccessMode
public enum QueueAccessMode
type QueueAccessMode =
Public Enum QueueAccessMode
- Inheritance
Name | Value | Description |
---|---|---|
Receive | 1 | The queue can peek at or receive messages. |
Send | 2 | The queue can only send messages. |
SendAndReceive | 3 | The queue can peek at, receive, or send messages. |
Peek | 32 | The queue can only peek at messages. |
ReceiveAndAdmin | 129 | The queue can receive messages. It can also be purged. |
PeekAndAdmin | 160 | The queue can peek at messages. It can also be purged. |
When creating a MessageQueue, if no access mode is specified, the access mode defaults to QueueAccessMode.SendAndReceive
.
Once the MessageQueue is created, the access mode cannot be changed.
Продукт | Версии |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: