DevForce Help Reference
OnError Method (EntityServerQueryInterceptor)


May be overridden to log errors;
Syntax
'Declaration
 
Protected Overridable Sub OnError( _
   ByVal e As Exception, _
   ByVal failureType As PersistenceFailure _
) 
'Usage
 
Dim instance As EntityServerQueryInterceptor
Dim e As Exception
Dim failureType As PersistenceFailure
 
instance.OnError(e, failureType)
protected virtual void OnError( 
   Exception e,
   PersistenceFailure failureType
)

Parameters

e
failureType
Remarks
No logging is performed by the default implementation.
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

EntityServerQueryInterceptor Class
EntityServerQueryInterceptor Members

Send Feedback