TeamFoundationSqlResourceComponent.TranslateException Method
Examines a SQL Type Exception and transforms it into a more significant one.
The default behavior is to do nothing; that is, it is to rethrow the original exception.
WIT is the only component that currently overrides the current behavior.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Overridable Sub TranslateException ( _
typeException As SqlTypeException _
)
protected virtual void TranslateException(
SqlTypeException typeException
)
protected:
virtual void TranslateException(
SqlTypeException^ typeException
)
abstract TranslateException :
typeException:SqlTypeException -> unit
override TranslateException :
typeException:SqlTypeException -> unit
protected function TranslateException(
typeException : SqlTypeException
)
Parameters
typeException
Type: System.Data.SqlTypes.SqlTypeExceptionOriginal 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.