IVsExtensionRepository.DownloadAsyncCancel Method
Cancels an asynchronous download operation.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'Déclaration
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
- 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.