GetPageNumberCompletedEventArgs 생성자

정의

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

public:
 GetPageNumberCompletedEventArgs(System::Windows::Documents::ContentPosition ^ contentPosition, int pageNumber, Exception ^ error, bool cancelled, System::Object ^ userState);
public GetPageNumberCompletedEventArgs(System.Windows.Documents.ContentPosition contentPosition, int pageNumber, Exception error, bool cancelled, object userState);
new System.Windows.Documents.GetPageNumberCompletedEventArgs : System.Windows.Documents.ContentPosition * int * Exception * bool * obj -> System.Windows.Documents.GetPageNumberCompletedEventArgs
Public Sub New (contentPosition As ContentPosition, pageNumber As Integer, error As Exception, cancelled As Boolean, userState As Object)

매개 변수

contentPosition
ContentPosition

contentPosition 에 전달된 매개 변수입니다GetPageNumberAsync(ContentPosition).

pageNumber
Int32

표시되는 페이지 번호 contentPosition 입니다.

error
Exception

비동기 작업 중에 발생한 예외입니다. 또는 오류가 없는 경우 NULL입니다.

cancelled
Boolean

true비동기 작업이 취소되었으면 이고, 그렇지 않으면 . false

userState
Object

에 전달된 고유 userState 매개 변수입니다 GetPageNumberAsync(ContentPosition).

설명

를 호출 CancelAsync하여 비동기 작업을 취소할 수 있습니다.

적용 대상

추가 정보