Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetPageCompletedEventArgs Constructor (DocumentPage^, Int32, Exception^, Boolean, Object^)

 

Initializes a new instance of the GetPageCompletedEventArgs class.

Namespace:   System.Windows.Documents
Assembly:  PresentationCore (in PresentationCore.dll)

public:
GetPageCompletedEventArgs(
	DocumentPage^ page,
	int pageNumber,
	Exception^ error,
	bool cancelled,
	Object^ userState
)

Parameters

page
Type: System.Windows.Documents::DocumentPage^

The DocumentPage for the requested pageNumber.

pageNumber
Type: System::Int32

The pageNumber parameter passed to GetPageAsync.

error
Type: System::Exception^

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

cancelled
Type: System::Boolean

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

userState
Type: System::Object^

The unique userState parameter passed to GetPageAsync.

The asynchronous operation can be canceled by calling CancelAsync.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft