DownloadCompletedEventArgs Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'Declaration
Public Sub New ( _
payload As IInstallableExtension, _
exception As Exception, _
canceled As Boolean, _
jobId As Guid _
)
public DownloadCompletedEventArgs(
IInstallableExtension payload,
Exception exception,
bool canceled,
Guid jobId
)
public:
DownloadCompletedEventArgs(
IInstallableExtension^ payload,
Exception^ exception,
bool canceled,
Guid jobId
)
new :
payload:IInstallableExtension *
exception:Exception *
canceled:bool *
jobId:Guid -> DownloadCompletedEventArgs
public function DownloadCompletedEventArgs(
payload : IInstallableExtension,
exception : Exception,
canceled : boolean,
jobId : Guid
)
Parameters
payload
Type: Microsoft.VisualStudio.ExtensionManager.IInstallableExtensionThe IInstallableExtension that represents the VSIX package.
exception
Type: System.ExceptionThe exception that was thrown.
canceled
Type: System.Booleantrue if the installation was canceled; otherwise, false.
jobId
Type: System.GuidThe job ID of the installation.
Remarks
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
.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.