TryTransformException Method
See Also 
SourceCode.Data.Sql Namespace > SqlDataAccessProvider Class : TryTransformException Method



exception
result

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function TryTransformException( _
   ByVal exception As DbException, _
   ByRef result As Exception _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As SqlDataAccessProvider
Dim exception As DbException
Dim result As Exception
Dim value As Boolean
 
value = instance.TryTransformException(exception, result)
C#  
public bool TryTransformException( 
   DbException exception,
   out Exception result
)
C++/CLI  
public:
bool TryTransformException( 
   DbException^ exception,
   [Out] Exception^ result
) 

Parameters

exception
result

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also