ListViewInsertedEventArgs(Int32, Exception) 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
ListViewInsertedEventArgs 클래스의 새 인스턴스를 초기화합니다.
public:
ListViewInsertedEventArgs(int affectedRows, Exception ^ exception);
public ListViewInsertedEventArgs(int affectedRows, Exception exception);
new System.Web.UI.WebControls.ListViewInsertedEventArgs : int * Exception -> System.Web.UI.WebControls.ListViewInsertedEventArgs
Public Sub New (affectedRows As Integer, exception As Exception)
매개 변수
- affectedRows
- Int32
삽입 작업의 영향을 받는 행 수입니다.
- exception
- Exception
삽입 작업이 수행되었을 때 발생하는 예외입니다(있는 경우). 예외가 발생하지 않은 경우 이 매개 변수를 사용합니다 null .
설명
이 생성자를 사용하여 클래스의 새 인스턴스를 초기화합니다 ListViewInsertedEventArgs .
Note
이 생성자는 이벤트를 발생시키는 경우 컨트롤 개발자가 주로 사용합니다.
다음 표에서는 클래스 인스턴스의 초기 속성 값을 보여 줍니다 ListViewInsertedEventArgs .
| Property | 초기 값 |
|---|---|
| AffectedRows | 매개 변수의 값입니다 affectedRows . |
| Exception |
System.Exception 매개 변수에 e 포함된 개체입니다. |
| ExceptionHandled | 으로 false초기화됩니다. |
| KeepInInsertMode | 으로 false초기화됩니다. |