DundasWinExtensions
GetBaseException Method
See Also  Send comments on this topic.
DundasWinExtensions Assembly > Dundas.Extensions Namespace > PairBarChartException Class : GetBaseException Method


When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.

Syntax

Visual Basic (Declaration)  
Public Overridable Function GetBaseException() As Exception
Visual Basic (Usage) Copy Code
Dim instance As PairBarChartException
Dim value As Exception
 
value = instance.GetBaseException()
C#  
public virtual Exception GetBaseException()

Return Value

The first exception thrown in a chain of exceptions. If the InnerException property of the current exception is a null reference (Nothing in Visual Basic), this property returns the current exception.

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

© 2009 All Rights Reserved.