GridViewUpdatedEventArgs(Int32, Exception) 생성자

정의

GridViewUpdatedEventArgs 클래스의 새 인스턴스를 초기화합니다.

public:
 GridViewUpdatedEventArgs(int affectedRows, Exception ^ e);
public GridViewUpdatedEventArgs(int affectedRows, Exception e);
new System.Web.UI.WebControls.GridViewUpdatedEventArgs : int * Exception -> System.Web.UI.WebControls.GridViewUpdatedEventArgs
Public Sub New (affectedRows As Integer, e As Exception)

매개 변수

affectedRows
Int32

업데이트 작업의 영향을 받은 행 수입니다.

e
Exception

업데이트 작업이 수행되었을 때 발생한 예외입니다. 예외가 발생하지 않은 경우 이 매개 변수를 사용합니다 null .

설명

다음 표에서는 클래스 인스턴스에 대한 초기 속성 값을 보여 줍니다 GridViewUpdatedEventArgs .

재산 초기 값
AffectedRows 매개 변수의 값입니다 affectedRows .
Exception System.Exception 매개 변수에 e 포함된 개체입니다.
ExceptionHandled 으로 false초기화됩니다.
KeepInEditMode 으로 false초기화됩니다.

메모

이 생성자는 주로 컨트롤 개발자가 이벤트를 발생 시에 사용 됩니다.

적용 대상

추가 정보