System.Messaging Reference (Document! X Sample)
PeekCompletedEventHandler Delegate



System.Messaging Namespace : PeekCompletedEventHandler Delegate
The source of the event, the MessageQueue.
A PeekCompletedEventArgs that contains the event data.
Represents the method that will handle the PeekCompleted event of a MessageQueue.
Syntax
'Declaration
 
Public Delegate Sub PeekCompletedEventHandler( _
   ByVal sender As Object, _
   ByVal e As PeekCompletedEventArgs _
) 
'Usage
 
Dim instance As New PeekCompletedEventHandler(AddressOf HandlerMethod)
public delegate void PeekCompletedEventHandler( 
   object sender,
   PeekCompletedEventArgs e
)
public delegate void PeekCompletedEventHandler( 
   Object^ sender,
   PeekCompletedEventArgs^ e
)

Parameters

sender
The source of the event, the MessageQueue.
e
A PeekCompletedEventArgs that contains the event data.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PeekCompletedEventHandler Members
System.Messaging Namespace