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.

GetPageNumberCompletedEventArgs Constructor (ContentPosition^, Int32, Exception^, Boolean, Object^)

 

Initializes a new instance of the GetPageNumberCompletedEventArgs class.

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

public:
GetPageNumberCompletedEventArgs(
	ContentPosition^ contentPosition,
	int pageNumber,
	Exception^ error,
	bool cancelled,
	Object^ userState
)

Parameters

contentPosition
Type: System.Windows.Documents::ContentPosition^

The contentPosition parameter passed to GetPageNumberAsync.

pageNumber
Type: System::Int32

The page number where the contentPosition appears.

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 GetPageNumberAsync.

The asynchronous operation can be canceled by calling CancelAsync.

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