Share via


IVsExtensionRepository.DownloadAsyncCancel Method

Cancels an asynchronous download operation.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'Declaration
Sub DownloadAsyncCancel ( _
    downloadJobId As Guid _
)
void DownloadAsyncCancel(
    Guid downloadJobId
)
void DownloadAsyncCancel(
    Guid downloadJobId
)
abstract DownloadAsyncCancel : 
        downloadJobId:Guid -> unit
function DownloadAsyncCancel(
    downloadJobId : Guid
)

Parameters

  • downloadJobId
    Type: Guid

    The ID of the download operation to be canceled.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

The GUID that is required by this method is returned by the DownloadAsync method.

.NET Framework Security

See Also

Reference

IVsExtensionRepository Interface

Microsoft.VisualStudio.ExtensionManager Namespace