Version

RemoveErrorHandler Method

Remove error handler from current CallBackManager. That method has effect only if AddErrorHandler did not fail.
Syntax
'Declaration
 
Public Shared Function RemoveErrorHandler( _
   ByVal page As Page, _
   ByVal handler As CallBackErrorHandler _
) As Boolean
public static bool RemoveErrorHandler( 
   Page page,
   CallBackErrorHandler handler
)

Parameters

page
Reference to page where CallBackManager is located.
handler
Reference to handler.

Return Value

False: failure.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also