UploadProgressChangedEventArgs 类

定义

UploadProgressChangedWebClient 事件提供数据。Provides data for the UploadProgressChanged event of a WebClient.

public ref class UploadProgressChangedEventArgs : System::ComponentModel::ProgressChangedEventArgs
public class UploadProgressChangedEventArgs : System.ComponentModel.ProgressChangedEventArgs
type UploadProgressChangedEventArgs = class
    inherit ProgressChangedEventArgs
Public Class UploadProgressChangedEventArgs
Inherits ProgressChangedEventArgs
继承
UploadProgressChangedEventArgs

注解

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

属性

BytesReceived

获取收到的字节数。Gets the number of bytes received.

BytesSent

获取已发送的字节数。Gets the number of bytes sent.

ProgressPercentage

获取异步任务的进度百分比。Gets the asynchronous task progress percentage.

(继承自 ProgressChangedEventArgs)
TotalBytesToReceive

获取 WebClient 数据上载操作中的总字节数。Gets the total number of bytes in a WebClient data upload operation.

TotalBytesToSend

获取要发送的总字节数。Gets the total number of bytes to send.

UserState

获取唯一的用户状态。Gets a unique user state.

(继承自 ProgressChangedEventArgs)

方法

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

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

(继承自 Object)

适用于