SqlDataSourceStatusEventArgs(DbCommand, Int32, Exception) 생성자

정의

지정된 출력 매개 변수, 반환 값 및 데이터베이스 작업의 영향을 받은 행 수를 사용하여 SqlDataSourceStatusEventArgs 클래스의 새 인스턴스를 초기화합니다.

public:
 SqlDataSourceStatusEventArgs(System::Data::Common::DbCommand ^ command, int affectedRows, Exception ^ exception);
public SqlDataSourceStatusEventArgs (System.Data.Common.DbCommand command, int affectedRows, Exception exception);
new System.Web.UI.WebControls.SqlDataSourceStatusEventArgs : System.Data.Common.DbCommand * int * Exception -> System.Web.UI.WebControls.SqlDataSourceStatusEventArgs
Public Sub New (command As DbCommand, affectedRows As Integer, exception As Exception)

매개 변수

command
DbCommand

DbCommand 컨트롤에서 데이터베이스에 전송한 데이터베이스 쿼리, 명령 또는 저장 프로시저를 나타내는 SqlDataSource입니다.

affectedRows
Int32

데이터베이스 작업의 영향을 받은 행 수입니다(해당 사항이 있는 경우).

exception
Exception

데이터베이스 작업에서 throw한 Exception입니다(해당 사항이 있는 경우).

적용 대상

추가 정보