This documentation is archived and is not being maintained.

CategorizedMessageEventHandler Delegate

The CategorizedMessageEventHandler delegate represents the method that will handle the OnCategorizedMessage event of a type that is derived from the RoutingAgent class. This type 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)

public delegate void CategorizedMessageEventHandler (
	CategorizedMessageEventSource source,
	QueuedMessageEventArgs e
)
/** @delegate */
public delegate void CategorizedMessageEventHandler (
	CategorizedMessageEventSource source, 
	QueuedMessageEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

source

The source of the event.

e

An instance of the QueuedMessageEventArgs class that contains the event data.

When you create a CategorizedMessageEventHandler 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.


Development Platforms

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

Target Platforms

Windows Server 2003
Show: