DownloadProgressChangedEventArgs Constructor
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: Int64The number of bytes received before the event was fired.
totalBytesToReceive
Type: Int64The total number of bytes to receive.
progressPercentage
Type: Int32The percentage of bytes received.
userState
Type: 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.