PeekAction PeekAction PeekAction PeekAction Enum

定義

指出窺視佇列中目前的訊息,還是下一則訊息。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
繼承

欄位

Current Current Current Current -2147483648

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

Next Next Next Next -2147483647

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

備註

PeekAction使用列舉搭配Peek(TimeSpan, Cursor, PeekAction)和,以指出您要查看佇列中目前的訊息, 或下一個訊息。 BeginPeek(TimeSpan, Cursor, PeekAction, Object, AsyncCallback)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.

適用於