IdeaBlade DevForce 2010 Help Reference
OnError Method
See Also  Send Feedback
IdeaBlade.EntityModel.Server Assembly > IdeaBlade.EntityModel.Server Namespace > EntityServerSaveInterceptor Class : OnError Method



e
failureType
May be overridden to log errors;

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnError( _
   ByVal e As Exception, _
   ByVal failureType As PersistenceFailure _
) 
Visual Basic (Usage)Copy Code
Dim instance As EntityServerSaveInterceptor
Dim e As Exception
Dim failureType As PersistenceFailure
 
instance.OnError(e, failureType)
C# 
protected virtual void OnError( 
   Exception e,
   PersistenceFailure failureType
)
C++/CLI 
protected:
virtual void OnError( 
   Exception^ e,
   PersistenceFailure failureType
) 

Parameters

e
failureType

Remarks

No logging is performed by the default implementation.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.