This documentation is archived and is not being maintained.

RoutingAgent.OnResolvedMessage Event

The OnResolvedMessage event occurs after all the recipients of the message have been resolved and before routing is determined. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Namespace: Microsoft.Exchange.Data.Transport.Routing
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

protected event ResolvedMessageEventHandler OnResolvedMessage
/** @event */
protected void add_OnResolvedMessage (ResolvedMessageEventHandler value)

/** @event */
protected void remove_OnResolvedMessage (ResolvedMessageEventHandler value)

JScript supports the use of events, but not the declaration of new ones.

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


Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003
Show: