Modifier

Partager via


GetPageCompletedEventArgs Constructor

Definition

Initializes a new instance of the GetPageCompletedEventArgs class.

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

Parameters

page
DocumentPage

The DocumentPage for the requested pageNumber.

pageNumber
Int32

The pageNumber parameter passed to GetPageAsync(Int32, Object).

error
Exception

The exception that occurred during the asynchronous operation; or NULL if there were no errors.

cancelled
Boolean

true if the asynchronous operation was canceled; otherwise, false.

userState
Object

The unique userState parameter passed to GetPageAsync(Int32, Object).

Remarks

The asynchronous operation can be canceled by calling CancelAsync.

Applies to

See also