GetPageCompletedEventArgs 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 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)
Parameters
- 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).
Remarks
The asynchronous operation can be canceled by calling CancelAsync.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈