PeekAction 列舉

定義

指出窺視佇列中目前的訊息,還是下一則訊息。Indicates whether to peek the current message in a queue, or the next message.

public enum class PeekAction
public enum PeekAction
type PeekAction = 
Public Enum PeekAction
繼承
PeekAction

欄位

Current -2147483648

窺視佇列中目前的訊息。Peek at the current message in the queue.

Next -2147483647

窺視佇列中的下一則訊息。Peek at the next message in the queue.

備註

使用 PeekAction 列舉搭配 BeginPeek(TimeSpan, Cursor, PeekAction, Object, AsyncCallback) 和, Peek(TimeSpan, Cursor, PeekAction) 以指出您要查看佇列中目前的訊息,或下一個訊息。Use the PeekAction enumeration with BeginPeek(TimeSpan, Cursor, PeekAction, Object, AsyncCallback) and Peek(TimeSpan, Cursor, PeekAction) to indicate whether you want to peek at the current message in the queue, or the next message.

適用於