Export (0) Print
Expand All

CategorizedMessageEventHandler delegate

The CategorizedMessageEventHandler delegate represents the method that will handle the OnCategorizedMessage 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)

public delegate void CategorizedMessageEventHandler(
	CategorizedMessageEventSource source,
	QueuedMessageEventArgs e


Type: Microsoft.Exchange.Data.Transport.Routing.CategorizedMessageEventSource

The source of the event.

Type: Microsoft.Exchange.Data.Transport.Routing.QueuedMessageEventArgs

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.

© 2014 Microsoft