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: