Export (0) Print
Expand All
Expand Minimize

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
public enum PeekAction
public enum PeekAction

 Member nameDescription
CurrentPeek at the current message in the queue. 
NextPeek 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft