Partager via


IVsExtensionRepository.DownloadAsyncCancel Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.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