UploadValuesCompletedEventArgs 类

定义

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

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

注解

此类的实例将传递到 UploadValuesCompletedEventHandlerInstances of this class are passed to the UploadValuesCompletedEventHandler.

属性

Cancelled

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

(继承自 AsyncCompletedEventArgs)
Error

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

(继承自 AsyncCompletedEventArgs)
Result

获取通过调用 UploadValuesAsync 方法启动的数据上载操作的服务器回复。Gets the server reply to a data upload operation started by calling an UploadValuesAsync method.

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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于