GetPageNumberCompletedEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the GetPageNumberCompletedEventArgs class.
public:
GetPageNumberCompletedEventArgs(System::Windows::Documents::ContentPosition ^ contentPosition, int pageNumber, Exception ^ error, bool cancelled, System::Object ^ userState);
public GetPageNumberCompletedEventArgs (System.Windows.Documents.ContentPosition contentPosition, int pageNumber, Exception error, bool cancelled, object userState);
new System.Windows.Documents.GetPageNumberCompletedEventArgs : System.Windows.Documents.ContentPosition * int * Exception * bool * obj -> System.Windows.Documents.GetPageNumberCompletedEventArgs
Public Sub New (contentPosition As ContentPosition, pageNumber As Integer, error As Exception, cancelled As Boolean, userState As Object)
Parameters
- contentPosition
- ContentPosition
The contentPosition
parameter passed to GetPageNumberAsync(ContentPosition).
- pageNumber
- Int32
The page number where the contentPosition
appears.
- 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 GetPageNumberAsync(ContentPosition).
Remarks
The asynchronous operation can be canceled by calling CancelAsync.
Applies to
See also
.NET