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

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace