DownloadProgressChangedEventArgs Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'Declaration
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
)
Parameters
bytesReceived
Type: System.Int64The number of bytes received before the event was fired.
totalBytesToReceive
Type: System.Int64The total number of bytes to receive.
progressPercentage
Type: System.Int32The percentage of bytes received.
userState
Type: System.ObjectAn object that contains user state information.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.