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