Share via


DownloadCompletedEventArgs Constructor

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

  • exception
    Type: Exception

    The exception that was thrown.

  • canceled
    Type: Boolean

    true if the installation was canceled; otherwise, false.

  • jobId
    Type: 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

See Also

Reference

DownloadCompletedEventArgs Class

Microsoft.VisualStudio.ExtensionManager Namespace