TeamFoundationSqlResourceComponent.TranslateSqlException Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Dichiarazione
Public Shared Function TranslateSqlException ( _
sqlException As SqlException _
) As Exception
public static Exception TranslateSqlException(
SqlException sqlException
)
public:
static Exception^ TranslateSqlException(
SqlException^ sqlException
)
static member TranslateSqlException :
sqlException:SqlException -> Exception
public static function TranslateSqlException(
sqlException : SqlException
) : Exception
Parameters
- sqlException
Type: System.Data.SqlClient.SqlException
Return Value
Type: System.Exception
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.