PeekAction Enumeration

 

Indicates whether to peek the current message in a queue, or the next message.

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

public enum PeekAction

Member nameDescription
Current

Peek at the current message in the queue.

Next

Peek at the next message in the queue.

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.

.NET Framework
Available since 2.0
Return to top
Show: