Microsoft SDK for Java

DhObjectFactory.addOnError

Assigns a delegate to the error event. 

Syntax

public final void addOnError ( EventHandler h )

Parameters

h

The EventHandler delegate to be notified when the event occurs.

Remarks

The delegate specifies a method that is called when this element generates an error.

See Also   removeOnError

© 1999 Microsoft Corporation. All rights reserved. Terms of use.