語言

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

the DbCommand 代表控制項提交給資料庫 SqlDataSource 的查詢、指令或儲存程序。

affectedRows
Int32

資料庫操作影響的列數(如適用)。

exception
Exception

Exception如果適用,則是資料庫操作拋出的。

適用於

另請參閱