Share via


ResolvedMessageEventHandler delegate

The ResolvedMessageEventHandler delegate represents the method that will handle the OnResolvedMessage event of a type that is derived from the RoutingAgent class.

Namespace:  Microsoft.Exchange.Data.Transport.Routing
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Delegate Sub ResolvedMessageEventHandler ( _
    source As ResolvedMessageEventSource, _
    e As QueuedMessageEventArgs _
)
'Usage
Dim instance As New ResolvedMessageEventHandler(AddressOf HandlerMethod)
public delegate void ResolvedMessageEventHandler(
    ResolvedMessageEventSource source,
    QueuedMessageEventArgs e
)

Parameters

Remarks

When you create a ResolvedMessageEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

See also

Reference

Microsoft.Exchange.Data.Transport.Routing namespace