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
- exceptionType
Type: System.Type
- factoryMethod
Type: System.Func<TeamFoundationRequestContext, Int32, SqlException, SqlError, 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.