GetPageNumberCompletedEventArgs 类

定义

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

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

构造函数

GetPageNumberCompletedEventArgs(ContentPosition, Int32, Exception, Boolean, Object)

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

属性

Cancelled

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

(继承自 AsyncCompletedEventArgs)
ContentPosition

获取传递给 ContentPositionGetPageNumberAsync(ContentPosition)Gets the ContentPosition passed to GetPageNumberAsync(ContentPosition).

Error

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

(继承自 AsyncCompletedEventArgs)
PageNumber

获取传递给 ContentPositionGetPageNumberAsync(ContentPosition) 的页码。Gets the page number for the ContentPosition passed to GetPageNumberAsync(ContentPosition).

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)

适用于