Condividi tramite


SqlExceptionFactory Constructor (Type, Func<TeamFoundationRequestContext, Int32, SqlException, SqlError, Exception>)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    exceptionType As Type, _
    factoryMethod As Func(Of TeamFoundationRequestContext, Integer, SqlException, SqlError, Exception) _
)
public SqlExceptionFactory(
    Type exceptionType,
    Func<TeamFoundationRequestContext, int, SqlException, SqlError, Exception> factoryMethod
)
public:
SqlExceptionFactory(
    Type^ exceptionType, 
    Func<TeamFoundationRequestContext^, int, SqlException^, SqlError^, Exception^>^ factoryMethod
)
new : 
        exceptionType:Type * 
        factoryMethod:Func<TeamFoundationRequestContext, int, SqlException, SqlError, Exception> -> SqlExceptionFactory
public function SqlExceptionFactory(
    exceptionType : Type, 
    factoryMethod : Func<TeamFoundationRequestContext, int, SqlException, SqlError, Exception>
)

Parameters

.NET Framework Security

See Also

Reference

SqlExceptionFactory Class

SqlExceptionFactory Overload

Microsoft.TeamFoundation.Framework.Server Namespace