GetPageCompletedEventArgs 类

定义

GetPageCompleted 事件提供数据。Provides data for the GetPageCompleted event.

public ref class GetPageCompletedEventArgs : System::ComponentModel::AsyncCompletedEventArgs
public class GetPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
type GetPageCompletedEventArgs = class
    inherit AsyncCompletedEventArgs
Public Class GetPageCompletedEventArgs
Inherits AsyncCompletedEventArgs
继承
GetPageCompletedEventArgs

构造函数

GetPageCompletedEventArgs(DocumentPage, Int32, Exception, Boolean, Object)

初始化 GetPageCompletedEventArgs 类的新实例。Initializes a new instance of the GetPageCompletedEventArgs class.

属性

Cancelled

获取一个值,该值指示异步操作是否已被取消。Gets a value indicating whether an asynchronous operation has been canceled.

(继承自 AsyncCompletedEventArgs)
DocumentPage

获取在对 DocumentPage 的调用中指定的页的 GetPageAsync(Int32, Object)Gets the DocumentPage for the page specified in the call to GetPageAsync(Int32, Object).

Error

获取一个值,该值指示异步操作期间发生的错误。Gets a value indicating which error occurred during an asynchronous operation.

(继承自 AsyncCompletedEventArgs)
PageNumber

获取传递给 GetPageAsync(Int32, Object) 的页码。Gets the page number passed to GetPageAsync(Int32, Object).

UserState

获取异步任务的唯一标识符。Gets the unique identifier for the asynchronous task.

(继承自 AsyncCompletedEventArgs)

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
RaiseExceptionIfNecessary()

如果异步操作失败,则引发用户提供的异常。Raises a user-supplied exception if an asynchronous operation failed.

(继承自 AsyncCompletedEventArgs)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅