GetPageCompletedEventArgs Constructor

Definition

Initializes a new instance of the GetPageCompletedEventArgs class.

public GetPageCompletedEventArgs (System.Windows.Documents.DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState);

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also