GetPageCompletedEventArgs Constructor
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 GetPageCompletedEventArgs class.
public:
GetPageCompletedEventArgs(System::Windows::Documents::DocumentPage ^ page, int pageNumber, Exception ^ error, bool cancelled, System::Object ^ userState);
public GetPageCompletedEventArgs (System.Windows.Documents.DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState);
new System.Windows.Documents.GetPageCompletedEventArgs : System.Windows.Documents.DocumentPage * int * Exception * bool * obj -> System.Windows.Documents.GetPageCompletedEventArgs
Public Sub New (page As DocumentPage, pageNumber As Integer, error As Exception, cancelled As Boolean, userState As Object)
- page
- DocumentPage
The DocumentPage for the requested pageNumber
.
- pageNumber
- Int32
The pageNumber
parameter passed to GetPageAsync(Int32, Object).
- 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 GetPageAsync(Int32, Object).
The asynchronous operation can be canceled by calling CancelAsync.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: