DownloadCompletedEventArgs Constructor
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
声明
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.IInstallableExtension
The IInstallableExtension that represents the VSIX package.
- exception
Type: System.Exception
The exception that was thrown.
- canceled
Type: System.Boolean
true if the installation was canceled; otherwise, false.
- jobId
Type: System.Guid
The 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.