IdeaBlade DevForce 2010 Help Reference
EntityServerErrorInterceptor Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel.Server Assembly > IdeaBlade.EntityModel.Server Namespace : EntityServerErrorInterceptor Class



Provides server-side interception of exceptions.

Syntax

Visual Basic (Declaration) 
<DefaultExportAttribute(IsDefault=True, 
   ContractName="", 
   ContractType=IdeaBlade.EntityModel.Server.EntityServerErrorInterceptor)>
Public Class EntityServerErrorInterceptor 
Visual Basic (Usage)Copy Code
Dim instance As EntityServerErrorInterceptor
C# 
[DefaultExportAttribute(IsDefault=true, 
   ContractName="", 
   ContractType=IdeaBlade.EntityModel.Server.EntityServerErrorInterceptor)]
public class EntityServerErrorInterceptor 
C++/CLI 
[DefaultExportAttribute(IsDefault=true, 
   ContractName="", 
   ContractType=IdeaBlade.EntityModel.Server.EntityServerErrorInterceptor)]
public ref class EntityServerErrorInterceptor 

Remarks

You can intercept errors which have been thrown on the server before they are sent to the calling application. Use the EntityServerErrorInterceptor.OnError method to provide your own processing of the exception, such as logging. You may also replace the exception with one more appropriate to the user or deployment. For example, you may not want guest users in a production deployment to see detailed error messages.

Inheritance Hierarchy

System.Object
   IdeaBlade.EntityModel.Server.EntityServerErrorInterceptor

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.