This Package | All Packages

DebugMessageEventHandler Delegate

Defines a callback delegate that can be inserted into a message that displays events for the Debug class.

package com.ms.wfc.util

public multicast delegate
void class
DebugMessageEventHandler( String message );

Remarks

Use the DebugMessageEventHandler delegate to change the routing of debug events to a file, logging database, or some other location. The delegate is declared as multicast, so you can route a single message to multiple places at one time.

When you create a DebugMessageEventHandler delegate, you specify the method that will handle the event. Once the delegate is assigned to the event, the handler method is automatically invoked whenever the event is triggered. For more information about delegates, see Handling Events in WFC.

See Also   Debug, addOnDisplayAssert, addOnDisplayMessage, removeOnDisplayAssert, removeOnDisplayMessage