System.Messaging Reference (Document! X Sample)



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

Parameters

sender
The source of the event, the MessageQueue.
e
A ReceiveCompletedEventArgs 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