DevForce Help Reference
OnError Method (EntityServerErrorInterceptor)


Called when an exception has been thrown on the server.
Syntax
'Declaration
 
Public Overridable Sub OnError( _
   ByVal args As ErrorInterceptorArgs _
) 
'Usage
 
Dim instance As EntityServerErrorInterceptor
Dim args As ErrorInterceptorArgs
 
instance.OnError(args)
public virtual void OnError( 
   ErrorInterceptorArgs args
)

Parameters

args
Remarks
Override this method to provide custom processing. Use the information in the ErrorInterceptorArgs to identify the exception, and the Principal to identify the current user.

The default implementation logs the exception to the DevForce debug log.

Requirements

Target Platforms: 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

Reference

EntityServerErrorInterceptor Class
EntityServerErrorInterceptor Members

Send Feedback