尽管此 API 支持 扩展管理器 基础结构,不建议使用它,因为它可能会发生更改。
命名空间: Microsoft.VisualStudio.ExtensionManager
程序集: Microsoft.VisualStudio.ExtensionManager(在 Microsoft.VisualStudio.ExtensionManager.dll 中)
语法
声明
Public Sub New ( _
bytesReceived As Long, _
totalBytesToReceive As Long, _
progressPercentage As Integer, _
userState As Object _
)
public DownloadProgressChangedEventArgs(
long bytesReceived,
long totalBytesToReceive,
int progressPercentage,
Object userState
)
public:
DownloadProgressChangedEventArgs(
long long bytesReceived,
long long totalBytesToReceive,
int progressPercentage,
Object^ userState
)
new :
bytesReceived:int64 *
totalBytesToReceive:int64 *
progressPercentage:int *
userState:Object -> DownloadProgressChangedEventArgs
public function DownloadProgressChangedEventArgs(
bytesReceived : long,
totalBytesToReceive : long,
progressPercentage : int,
userState : Object
)
参数
bytesReceived
类型:Int64在活动之前接收字节数会激发的。
totalBytesToReceive
类型:Int64接收的总字节数。
progressPercentage
类型:Int32接收的字节的百分比。
userState
类型:Object包含用户状态信息的对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。