Unwraps the supplied TargetInvocationException
and returns the inner exception preserving the stack trace.
Namespace: NHibernate.UtilAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static Exception UnwrapTargetInvocationException( TargetInvocationException ex ) |
Visual Basic |
---|
Public Shared Function UnwrapTargetInvocationException ( _ ex As TargetInvocationException _ ) As Exception |
Visual C++ |
---|
public: static Exception^ UnwrapTargetInvocationException( TargetInvocationException^ ex ) |
Parameters
- ex
- Type: System.Reflection..::..TargetInvocationException
The TargetInvocationException to unwrap.