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: