Visual Basic (Declaration) | |
---|---|
Public Function TryTransformException( _ ByVal exception As DbException, _ ByRef result As Exception _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
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
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