Share via


RoutingAgent.OnResolvedMessage event

The OnResolvedMessage event occurs after all the recipients of the message have been resolved and before routing is determined.

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

Syntax

'Declaration
Protected Event OnResolvedMessage As ResolvedMessageEventHandler
'Usage
Dim handler As ResolvedMessageEventHandler

AddHandler Me.OnResolvedMessage, handler
protected event ResolvedMessageEventHandler OnResolvedMessage

Remarks

In the OnResolvedMessage event, you can override the default routing behavior by using the SetRoutingOverride method to set the per-recipient RoutingOverride property.

See also

Reference

RoutingAgent class

RoutingAgent members

Microsoft.Exchange.Data.Transport.Routing namespace