SqlExceptionFactory.Create Method (TeamFoundationRequestContext, SqlException, SqlError)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function Create ( _
requestContext As TeamFoundationRequestContext, _
sqlException As SqlException, _
sqlError As SqlError _
) As TeamFoundationServiceException
public TeamFoundationServiceException Create(
TeamFoundationRequestContext requestContext,
SqlException sqlException,
SqlError sqlError
)
public:
TeamFoundationServiceException^ Create(
TeamFoundationRequestContext^ requestContext,
SqlException^ sqlException,
SqlError^ sqlError
)
member Create :
requestContext:TeamFoundationRequestContext *
sqlException:SqlException *
sqlError:SqlError -> TeamFoundationServiceException
public function Create(
requestContext : TeamFoundationRequestContext,
sqlException : SqlException,
sqlError : SqlError
) : TeamFoundationServiceException
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- sqlException
Type: System.Data.SqlClient.SqlException
- sqlError
Type: System.Data.SqlClient.SqlError
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
.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.