Visual Basic (Declaration) | |
---|---|
Public Property Exception As Exception |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ErrorInterceptorArgs Dim value As Exception instance.Exception = value value = instance.Exception |
C# | |
---|---|
public Exception Exception {get; set;} |
C++/CLI | |
---|---|
public: property Exception^ Exception { Exception^ get(); void set ( Exception^ value); } |
The exception set here will be returned to the client. You may replace the exception originally thrown with another exception, for example to hide exception details.
Use the Exception.StackTrace and Exception.InnerException as well as the exception type to help identify the exception and where it came from. Most exceptions will be some type of IdeaBlade.EntityModel.EntityServerException and will include the IdeaBlade.EntityModel.EntityServerException.FailureType and IdeaBlade.EntityModel.EntityServerException.OperationType to help identify the error.
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