ResultCollection Constructor (SqlDataReader, Int32, String, SqlExceptionHandler, TeamFoundationRequestContext)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'宣告
Public Sub New ( _
reader As SqlDataReader, _
maximumRows As Integer, _
storedProcedureName As String, _
exceptionHandler As SqlExceptionHandler, _
requestContext As TeamFoundationRequestContext _
)
public ResultCollection(
SqlDataReader reader,
int maximumRows,
string storedProcedureName,
SqlExceptionHandler exceptionHandler,
TeamFoundationRequestContext requestContext
)
public:
ResultCollection(
SqlDataReader^ reader,
int maximumRows,
String^ storedProcedureName,
SqlExceptionHandler^ exceptionHandler,
TeamFoundationRequestContext^ requestContext
)
new :
reader:SqlDataReader *
maximumRows:int *
storedProcedureName:string *
exceptionHandler:SqlExceptionHandler *
requestContext:TeamFoundationRequestContext -> ResultCollection
public function ResultCollection(
reader : SqlDataReader,
maximumRows : int,
storedProcedureName : String,
exceptionHandler : SqlExceptionHandler,
requestContext : TeamFoundationRequestContext
)
Parameters
- reader
Type: System.Data.SqlClient.SqlDataReader
- maximumRows
Type: System.Int32
- storedProcedureName
Type: System.String
- exceptionHandler
Type: Microsoft.TeamFoundation.Framework.Server.SqlExceptionHandler
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
.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.