Visual Basic (Declaration) | |
---|---|
Public Overridable Sub OnError( _ ByVal args As ErrorInterceptorArgs _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntityServerErrorInterceptor Dim args As ErrorInterceptorArgs instance.OnError(args) |
C# | |
---|---|
public virtual void OnError( ErrorInterceptorArgs args ) |
C++/CLI | |
---|---|
public: virtual void OnError( ErrorInterceptorArgs^ args ) |
Parameters
- args
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.
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